Offset 12, 37 lines modifiedOffset 12, 37 lines modified
  
12 ····return-void12 ····return-void
13 .end·method13 .end·method
  
14 .method·private·final·isNewJobScheduleRequired(Landroid/content/Context;)Z14 .method·private·final·isNewJobScheduleRequired(Landroid/content/Context;)Z
15 ····.locals·1215 ····.locals·12
  
16 ····.line·19816 ····.line·195
17 ····const-class·p0,·Landroid/app/job/JobScheduler;17 ····const-class·p0,·Landroid/app/job/JobScheduler;
  
18 ····invoke-virtual·{p1,·p0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;18 ····invoke-virtual·{p1,·p0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
19 ····move-result-object·p019 ····move-result-object·p0
  
20 ····check-cast·p0,·Landroid/app/job/JobScheduler;20 ····check-cast·p0,·Landroid/app/job/JobScheduler;
  
21 ····invoke-static·{p0},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V21 ····invoke-static·{p0},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
  
22 ····const/4·p1,·0x222 ····const/4·p1,·0x2
  
23 ····.line·19923 ····.line·196
24 ····invoke-virtual·{p0,·p1},·Landroid/app/job/JobScheduler;->getPendingJob(I)Landroid/app/job/JobInfo;24 ····invoke-virtual·{p0,·p1},·Landroid/app/job/JobScheduler;->getPendingJob(I)Landroid/app/job/JobInfo;
  
25 ····move-result-object·p025 ····move-result-object·p0
  
26 ····const/4·p1,·0x126 ····const/4·p1,·0x1
  
27 ····if-nez·p0,·:cond_027 ····if-nez·p0,·:cond_0
  
28 ····.line·20228 ····.line·199
29 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;29 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;
  
30 ····const/4·v3,·0x030 ····const/4·v3,·0x0
  
31 ····const/4·v4,·0x431 ····const/4·v4,·0x4
  
32 ····const/4·v5,·0x032 ····const/4·v5,·0x0
Offset 51, 29 lines modifiedOffset 51, 29 lines modified
  
51 ····const-string·v2,·"No·existing·job,·scheduling·a·new·one"51 ····const-string·v2,·"No·existing·job,·scheduling·a·new·one"
  
52 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V52 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
53 ····goto·:goto_053 ····goto·:goto_0
  
54 ····.line·20554 ····.line·202
55 ····:cond_055 ····:cond_0
56 ····invoke-virtual·{p0},·Landroid/app/job/JobInfo;->getIntervalMillis()J56 ····invoke-virtual·{p0},·Landroid/app/job/JobInfo;->getIntervalMillis()J
  
57 ····move-result-wide·v057 ····move-result-wide·v0
  
58 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$getCheckFrequencyMs()J58 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$getCheckFrequencyMs()J
  
59 ····move-result-wide·v259 ····move-result-wide·v2
  
60 ····cmp-long·p0,·v0,·v260 ····cmp-long·p0,·v0,·v2
  
61 ····if-eqz·p0,·:cond_161 ····if-eqz·p0,·:cond_1
  
62 ····.line·20762 ····.line·204
63 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;63 ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;
  
64 ····const/4·v3,·0x064 ····const/4·v3,·0x0
  
65 ····const/4·v4,·0x465 ····const/4·v4,·0x4
  
66 ····const/4·v5,·0x066 ····const/4·v5,·0x0
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
  
82 ····const-string·v2,·"Interval·frequency·has·changed,·updating·job"82 ····const-string·v2,·"Interval·frequency·has·changed,·updating·job"
  
83 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V83 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
84 ····goto·:goto_084 ····goto·:goto_0
  
85 ····.line·21285 ····.line·209
86 ····:cond_186 ····:cond_1
87 ····sget-object·v6,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;87 ····sget-object·v6,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;
  
88 ····const/4·v9,·0x088 ····const/4·v9,·0x0
  
89 ····const/4·v10,·0x489 ····const/4·v10,·0x4
  
Offset 172, 38 lines modifiedOffset 172, 35 lines modified
  
172 ····const/4·v5,·0x0172 ····const/4·v5,·0x0
  
173 ····move-object·v0,·p2173 ····move-object·v0,·p2
  
174 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V174 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
175 ····.line·156175 ····.line·155
176 ····invoke-static·{p1},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$getFirstBootTime(Landroid/content/Context;)J 
  
177 ····.line·158 
178 ····const-class·v0,·Landroid/os/UserManager;176 ····const-class·v0,·Landroid/os/UserManager;
  
179 ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;177 ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
180 ····move-result-object·v0178 ····move-result-object·v0
  
181 ····check-cast·v0,·Landroid/os/UserManager;179 ····check-cast·v0,·Landroid/os/UserManager;
  
182 ····invoke-static·{v0},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V180 ····invoke-static·{v0},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
  
183 ····.line·161181 ····.line·158
184 ····invoke-virtual·{v0},·Landroid/os/UserManager;->isProfile()Z182 ····invoke-virtual·{v0},·Landroid/os/UserManager;->isProfile()Z
  
185 ····move-result·v0183 ····move-result·v0
  
186 ····const-string·v1,·"user·"184 ····const-string·v1,·"user·"
  
187 ····if-eqz·v0,·:cond_0185 ····if-eqz·v0,·:cond_0
  
188 ····.line·163186 ····.line·160
189 ····new-instance·p0,·Ljava/lang/StringBuilder;187 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
190 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V188 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
191 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;189 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
192 ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle;190 ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle;
Offset 234, 15 lines modifiedOffset 231, 15 lines modified
  
234 ····move-object·v0,·p2231 ····move-object·v0,·p2
  
235 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V232 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
236 ····return-void233 ····return-void
  
237 ····.line·168234 ····.line·165
238 ····:cond_0235 ····:cond_0
239 ····new-instance·v0,·Ljava/lang/StringBuilder;236 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
240 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V237 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
241 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;238 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 272, 61 lines modifiedOffset 269, 61 lines modified
  
272 ····const-string·v1,·"HibernationPolicy"269 ····const-string·v1,·"HibernationPolicy"
  
273 ····move-object·v0,·p2270 ····move-object·v0,·p2
  
274 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V271 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
275 ····.line·172272 ····.line·169
276 ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationOnBootReceiver;->isNewJobScheduleRequired(Landroid/content/Context;)Z273 ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationOnBootReceiver;->isNewJobScheduleRequired(Landroid/content/Context;)Z
  
277 ····move-result·p0274 ····move-result·p0
  
278 ····if-eqz·p0,·:cond_1275 ····if-eqz·p0,·:cond_1
  
279 ····const/4·p0,·0x1276 ····const/4·p0,·0x1
  
280 ····.line·174277 ····.line·171
281 ····invoke-static·{p0},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$setSKIP_NEXT_RUN$p(Z)V278 ····invoke-static·{p0},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$setSKIP_NEXT_RUN$p(Z)V
  
282 ····.line·175279 ····.line·172
283 ····new-instance·v0,·Landroid/app/job/JobInfo$Builder;280 ····new-instance·v0,·Landroid/app/job/JobInfo$Builder;
  
284 ····const/4·v1,·0x2281 ····const/4·v1,·0x2
  
285 ····.line·177282 ····.line·174
286 ····new-instance·v2,·Landroid/content/ComponentName;283 ····new-instance·v2,·Landroid/content/ComponentName;
  
287 ····const-class·v3,·Lcom/android/permissioncontroller/hibernation/HibernationJobService;284 ····const-class·v3,·Lcom/android/permissioncontroller/hibernation/HibernationJobService;
  
288 ····invoke-direct·{v2,·p1,·v3},·Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V285 ····invoke-direct·{v2,·p1,·v3},·Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
  
289 ····.line·175286 ····.line·172
290 ····invoke-direct·{v0,·v1,·v2},·Landroid/app/job/JobInfo$Builder;-><init>(ILandroid/content/ComponentName;)V287 ····invoke-direct·{v0,·v1,·v2},·Landroid/app/job/JobInfo$Builder;-><init>(ILandroid/content/ComponentName;)V
  
291 ····.line·178288 ····.line·175
292 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$getCheckFrequencyMs()J289 ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->access$getCheckFrequencyMs()J
  
293 ····move-result-wide·v1290 ····move-result-wide·v1
  
294 ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/job/JobInfo$Builder;->setPeriodic(J)Landroid/app/job/JobInfo$Builder;291 ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/job/JobInfo$Builder;->setPeriodic(J)Landroid/app/job/JobInfo$Builder;
  
295 ····move-result-object·v0292 ····move-result-object·v0
  
296 ····.line·180293 ····.line·177
297 ····invoke-virtual·{v0,·p0},·Landroid/app/job/JobInfo$Builder;->setPersisted(Z)Landroid/app/job/JobInfo$Builder;294 ····invoke-virtual·{v0,·p0},·Landroid/app/job/JobInfo$Builder;->setPersisted(Z)Landroid/app/job/JobInfo$Builder;
  
298 ····move-result-object·v0295 ····move-result-object·v0
  
299 ····.line·181296 ····.line·178
300 ····invoke-virtual·{v0},·Landroid/app/job/JobInfo$Builder;->build()Landroid/app/job/JobInfo;297 ····invoke-virtual·{v0},·Landroid/app/job/JobInfo$Builder;->build()Landroid/app/job/JobInfo;
  
301 ····move-result-object·v0298 ····move-result-object·v0
  
302 ····.line·182299 ····.line·179
303 ····const-class·v1,·Landroid/app/job/JobScheduler;300 ····const-class·v1,·Landroid/app/job/JobScheduler;
  
304 ····invoke-virtual·{p1,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;301 ····invoke-virtual·{p1,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
305 ····move-result-object·p1302 ····move-result-object·p1
  
306 ····check-cast·p1,·Landroid/app/job/JobScheduler;303 ····check-cast·p1,·Landroid/app/job/JobScheduler;
Offset 335, 15 lines modifiedOffset 332, 15 lines modified
  
335 ····invoke-virtual·{p1,·v0},·Landroid/app/job/JobScheduler;->schedule(Landroid/app/job/JobInfo;)I332 ····invoke-virtual·{p1,·v0},·Landroid/app/job/JobScheduler;->schedule(Landroid/app/job/JobInfo;)I
  
336 ····move-result·p1333 ····move-result·p1
  
337 ····if-eq·p1,·p0,·:cond_1334 ····if-eq·p1,·p0,·:cond_1
  
338 ····.line·185335 ····.line·182
339 ····new-instance·p0,·Ljava/lang/StringBuilder;336 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
340 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V337 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
341 ····const-string·v0,·"Could·not·schedule·"338 ····const-string·v0,·"Could·not·schedule·"
  
342 ····invoke-virtual·{p0,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;339 ····invoke-virtual·{p0,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 372, 13 lines modifiedOffset 369, 13 lines modified
  
372 ····const/4·v5,·0x0369 ····const/4·v5,·0x0
  
373 ····const-string·v1,·"HibernationPolicy"370 ····const-string·v1,·"HibernationPolicy"
  
374 ····move-object·v0,·p2371 ····move-object·v0,·p2
  
375 ····.line·184372 ····.line·181
376 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->e$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V373 ····invoke-static/range·{v0·..·v5},·Lcom/android/permissioncontroller/DumpableLog;->e$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
377 ····:cond_1374 ····:cond_1
378 ····return-void375 ····return-void
379 .end·method376 .end·method