Offset 30, 17 lines modifiedOffset 30, 17 lines modified
30 ····}30 ····}
31 .end·annotation31 .end·annotation
  
32 .annotation·runtime·Lkotlin/coroutines/jvm/internal/DebugMetadata;32 .annotation·runtime·Lkotlin/coroutines/jvm/internal/DebugMetadata;
33 ····c·=·"com.android.permissioncontroller.hibernation.HibernationJobService$onStartJob$1"33 ····c·=·"com.android.permissioncontroller.hibernation.HibernationJobService$onStartJob$1"
34 ····f·=·"HibernationPolicy.kt"34 ····f·=·"HibernationPolicy.kt"
35 ····l·=·{35 ····l·=·{
36 ········0x21b,36 ········0x218,
37 ········0x223,37 ········0x220,
38 ········0x22738 ········0x224
39 ····}39 ····}
40 ····m·=·"invokeSuspend"40 ····m·=·"invokeSuspend"
41 .end·annotation41 .end·annotation
  
  
42 #·instance·fields42 #·instance·fields
43 .field·final·synthetic·$params:Landroid/app/job/JobParameters;43 .field·final·synthetic·$params:Landroid/app/job/JobParameters;
Offset 187, 15 lines modifiedOffset 187, 15 lines modified
187 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;187 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;
188 ····.end·annotation188 ····.end·annotation
  
189 ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;189 ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
  
190 ····move-result-object·v0190 ····move-result-object·v0
  
191 ····.line·532191 ····.line·529
192 ····iget·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I192 ····iget·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I
  
193 ····const/4·v2,·0x3193 ····const/4·v2,·0x3
  
194 ····const/4·v3,·0x2194 ····const/4·v3,·0x2
  
195 ····const/4·v4,·0x1195 ····const/4·v4,·0x1
Offset 216, 25 lines modifiedOffset 216, 25 lines modified
216 ····goto/16·:goto_4216 ····goto/16·:goto_4
  
217 ····:catch_0217 ····:catch_0
218 ····move-exception·p1218 ····move-exception·p1
  
219 ····goto/16·:goto_3219 ····goto/16·:goto_3
  
220 ····.line·557220 ····.line·554
221 ····:cond_0221 ····:cond_0
222 ····new-instance·p0,·Ljava/lang/IllegalStateException;222 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
223 ····const-string·p1,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine"223 ····const-string·p1,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine"
  
224 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V224 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
225 ····throw·p0225 ····throw·p0
  
226 ····.line·532226 ····.line·529
227 ····:cond_1227 ····:cond_1
228 ····iget-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J228 ····iget-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J
  
229 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object;229 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object;
  
230 ····check-cast·v1,·Ljava/util/Set;230 ····check-cast·v1,·Ljava/util/Set;
  
Offset 263, 27 lines modifiedOffset 263, 27 lines modified
263 ····move-wide·v7,·v5263 ····move-wide·v7,·v5
  
264 ····:goto_0264 ····:goto_0
265 ····cmp-long·p1,·v7,·v5265 ····cmp-long·p1,·v7,·v5
  
266 ····if-nez·p1,·:cond_4266 ····if-nez·p1,·:cond_4
  
267 ····.line·536267 ····.line·533
268 ····:try_start_3268 ····:try_start_3
269 ····new-instance·p1,·Ljava/util/Random;269 ····new-instance·p1,·Ljava/util/Random;
  
270 ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V270 ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V
  
271 ····invoke-virtual·{p1},·Ljava/util/Random;->nextLong()J271 ····invoke-virtual·{p1},·Ljava/util/Random;->nextLong()J
  
272 ····move-result-wide·v7272 ····move-result-wide·v7
  
273 ····goto·:goto_0273 ····goto·:goto_0
  
274 ····.line·539274 ····.line·536
275 ····:cond_4275 ····:cond_4
276 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;276 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
277 ····iput-wide·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J277 ····iput-wide·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J
  
278 ····iput·v4,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I278 ····iput·v4,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I
  
Offset 294, 91 lines modifiedOffset 294, 91 lines modified
294 ····if-ne·p1,·v0,·:cond_5294 ····if-ne·p1,·v0,·:cond_5
  
295 ····return-object·v0295 ····return-object·v0
  
296 ····:cond_5296 ····:cond_5
297 ····move-wide·v5,·v7297 ····move-wide·v5,·v7
  
298 ····.line·532298 ····.line·529
299 ····:goto_1299 ····:goto_1
300 ····check-cast·p1,·Ljava/util/Map;300 ····check-cast·p1,·Ljava/util/Map;
  
301 ····.line·540301 ····.line·537
302 ····invoke-static·{},·Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;302 ····invoke-static·{},·Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
  
303 ····move-result-object·v1303 ····move-result-object·v1
  
304 ····.line·541304 ····.line·538
305 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->isHibernationEnabled()Z305 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->isHibernationEnabled()Z
  
306 ····move-result·v7306 ····move-result·v7
  
307 ····if-eqz·v7,·:cond_6307 ····if-eqz·v7,·:cond_6
  
308 ····.line·543308 ····.line·540
309 ····new-instance·v1,·Lcom/android/permissioncontroller/hibernation/HibernationController;309 ····new-instance·v1,·Lcom/android/permissioncontroller/hibernation/HibernationController;
  
310 ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;310 ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
311 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->getUnusedThresholdMs()J311 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->getUnusedThresholdMs()J
  
312 ····move-result-wide·v8312 ····move-result-wide·v8
  
313 ····.line·544313 ····.line·541
314 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->hibernationTargetsPreSApps()Z314 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->hibernationTargetsPreSApps()Z
  
315 ····move-result·v10315 ····move-result·v10
  
316 ····.line·543316 ····.line·540
317 ····invoke-direct·{v1,·v7,·v8,·v9,·v10},·Lcom/android/permissioncontroller/hibernation/HibernationController;-><init>(Landroid/content/Context;JZ)V317 ····invoke-direct·{v1,·v7,·v8,·v9,·v10},·Lcom/android/permissioncontroller/hibernation/HibernationController;-><init>(Landroid/content/Context;JZ)V
  
318 ····.line·545318 ····.line·542
319 ····invoke-virtual·{v1,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationController;->hibernateApps(Ljava/util/Map;)Ljava/util/Set;319 ····invoke-virtual·{v1,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationController;->hibernateApps(Ljava/util/Map;)Ljava/util/Set;
  
320 ····move-result-object·v1320 ····move-result-object·v1
  
321 ····.line·548321 ····.line·545
322 ····:cond_6322 ····:cond_6
323 ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;323 ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
324 ····.line·547324 ····.line·544
325 ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object;325 ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object;
  
326 ····iput-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J326 ····iput-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J
  
327 ····iput·v3,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I327 ····iput·v3,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I
  
328 ····invoke-static·{p1,·v7,·v5,·v6,·p0},·Lcom/android/permissioncontroller/permission/service/AutoRevokePermissions;->revokeAppPermissions(Ljava/util/Map;Landroid/content/Context;JLkotlin/coroutines/Continuation;)Ljava/lang/Object;328 ····invoke-static·{p1,·v7,·v5,·v6,·p0},·Lcom/android/permissioncontroller/permission/service/AutoRevokePermissions;->revokeAppPermissions(Ljava/util/Map;Landroid/content/Context;JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  
329 ····move-result-object·p1329 ····move-result-object·p1
  
330 ····if-ne·p1,·v0,·:cond_7330 ····if-ne·p1,·v0,·:cond_7
  
331 ····return-object·v0331 ····return-object·v0
  
332 ····.line·532332 ····.line·529
333 ····:cond_7333 ····:cond_7
334 ····:goto_2334 ····:goto_2
335 ····check-cast·p1,·Ljava/util/Set;335 ····check-cast·p1,·Ljava/util/Set;
  
336 ····.line·549336 ····.line·546
337 ····invoke-static·{v1,·p1},·Lkotlin/collections/SetsKt;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;337 ····invoke-static·{v1,·p1},·Lkotlin/collections/SetsKt;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;
  
338 ····move-result-object·p1338 ····move-result-object·p1
  
339 ····.line·550339 ····.line·547
340 ····invoke-interface·{p1},·Ljava/util/Collection;->isEmpty()Z340 ····invoke-interface·{p1},·Ljava/util/Collection;->isEmpty()Z
  
341 ····move-result·v1341 ····move-result·v1
  
342 ····xor-int/2addr·v1,·v4342 ····xor-int/2addr·v1,·v4
  
343 ····if-eqz·v1,·:cond_8343 ····if-eqz·v1,·:cond_8
  
344 ····.line·551344 ····.line·548
345 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;345 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
346 ····invoke-interface·{p1},·Ljava/util/Set;->size()I346 ····invoke-interface·{p1},·Ljava/util/Set;->size()I
  
347 ····move-result·p1347 ····move-result·p1
  
348 ····const/4·v3,·0x0348 ····const/4·v3,·0x0
Offset 393, 33 lines modifiedOffset 393, 33 lines modified
393 ····:try_end_3393 ····:try_end_3
394 ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_0394 ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_0
  
395 ····if-ne·p1,·v0,·:cond_8395 ····if-ne·p1,·v0,·:cond_8
  
396 ····return-object·v0396 ····return-object·v0
  
397 ····.line·554397 ····.line·551
398 ····:goto_3398 ····:goto_3
399 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;399 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;
  
400 ····const-string·v1,·"HibernationPolicy"400 ····const-string·v1,·"HibernationPolicy"
  
401 ····const-string·v2,·"Failed·to·auto-revoke·permissions"401 ····const-string·v2,·"Failed·to·auto-revoke·permissions"
  
402 ····invoke-virtual·{v0,·v1,·v2,·p1},·Lcom/android/permissioncontroller/DumpableLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V402 ····invoke-virtual·{v0,·v1,·v2,·p1},·Lcom/android/permissioncontroller/DumpableLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
  
403 ····.line·556403 ····.line·553
404 ····:cond_8404 ····:cond_8
405 ····:goto_4405 ····:goto_4
406 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;406 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
407 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->$params:Landroid/app/job/JobParameters;407 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->$params:Landroid/app/job/JobParameters;
  
408 ····const/4·v0,·0x0408 ····const/4·v0,·0x0
  
409 ····invoke-virtual·{p1,·p0,·v0},·Landroid/app/job/JobService;->jobFinished(Landroid/app/job/JobParameters;Z)V409 ····invoke-virtual·{p1,·p0,·v0},·Landroid/app/job/JobService;->jobFinished(Landroid/app/job/JobParameters;Z)V
  
410 ····.line·557410 ····.line·554
411 ····sget-object·p0,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;411 ····sget-object·p0,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
  
412 ····return-object·p0412 ····return-object·p0
413 .end·method413 .end·method