Offset 30, 15 lines modifiedOffset 30, 15 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.permission.ui.model.AppPermissionGroupsViewModel$setAutoRevoke$1"33 ····c·=·"com.android.permissioncontroller.permission.ui.model.AppPermissionGroupsViewModel$setAutoRevoke$1"
34 ····f·=·"AppPermissionGroupsViewModel.kt"34 ····f·=·"AppPermissionGroupsViewModel.kt"
35 ····l·=·{35 ····l·=·{
36 ········0xbd36 ········0xba
37 ····}37 ····}
38 ····m·=·"invokeSuspend"38 ····m·=·"invokeSuspend"
39 .end·annotation39 .end·annotation
  
  
40 #·instance·fields40 #·instance·fields
41 .field·final·synthetic·$enabled:Z41 .field·final·synthetic·$enabled:Z
Offset 144, 15 lines modifiedOffset 144, 15 lines modified
144 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;144 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;
145 ····.end·annotation145 ····.end·annotation
  
146 ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;146 ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
  
147 ····move-result-object·v0147 ····move-result-object·v0
  
148 ····.line·187148 ····.line·184
149 ····iget·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->label:I149 ····iget·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->label:I
  
150 ····const/4·v2,·0x0150 ····const/4·v2,·0x0
  
151 ····const/4·v3,·0x1151 ····const/4·v3,·0x1
  
152 ····if-eqz·v1,·:cond_1152 ····if-eqz·v1,·:cond_1
Offset 167, 31 lines modifiedOffset 167, 31 lines modified
  
167 ····check-cast·v1,·Lkotlinx/coroutines/CoroutineScope;167 ····check-cast·v1,·Lkotlinx/coroutines/CoroutineScope;
  
168 ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V168 ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
  
169 ····goto·:goto_0169 ····goto·:goto_0
  
170 ····.line·210170 ····.line·207
171 ····:cond_0171 ····:cond_0
172 ····new-instance·p1,·Ljava/lang/IllegalStateException;172 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
173 ····const-string·v0,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine"173 ····const-string·v0,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine"
  
174 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V174 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
175 ····throw·p1175 ····throw·p1
  
176 ····.line·187176 ····.line·184
177 ····:cond_1177 ····:cond_1
178 ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V178 ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
  
179 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->p$:Lkotlinx/coroutines/CoroutineScope;179 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->p$:Lkotlinx/coroutines/CoroutineScope;
  
180 ····.line·188180 ····.line·185
181 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;181 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;
  
182 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getApp()Lcom/android/permissioncontroller/PermissionControllerApplication;182 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getApp()Lcom/android/permissioncontroller/PermissionControllerApplication;
  
183 ····move-result-object·v1183 ····move-result-object·v1
  
184 ····const-class·v4,·Landroid/app/AppOpsManager;184 ····const-class·v4,·Landroid/app/AppOpsManager;
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
  
200 ····move-result-object·v1200 ····move-result-object·v1
  
201 ····if-eqz·v1,·:cond_6201 ····if-eqz·v1,·:cond_6
  
202 ····check-cast·v1,·Landroid/app/AppOpsManager;202 ····check-cast·v1,·Landroid/app/AppOpsManager;
  
203 ····.line·189203 ····.line·186
204 ····sget-object·v4,·Lcom/android/permissioncontroller/permission/data/LightPackageInfoLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/LightPackageInfoLiveData$Companion;204 ····sget-object·v4,·Lcom/android/permissioncontroller/permission/data/LightPackageInfoLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/LightPackageInfoLiveData$Companion;
  
205 ····iget-object·v5,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;205 ····iget-object·v5,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;
  
206 ····invoke-static·{v5},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;206 ····invoke-static·{v5},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;
  
207 ····move-result-object·v5207 ····move-result-object·v5
Offset 250, 15 lines modifiedOffset 250, 15 lines modified
250 ····if-ne·p1,·v0,·:cond_2250 ····if-ne·p1,·v0,·:cond_2
  
251 ····return-object·v0251 ····return-object·v0
  
252 ····:cond_2252 ····:cond_2
253 ····move-object·v0,·v1253 ····move-object·v0,·v1
  
254 ····.line·187254 ····.line·184
255 ····:goto_0255 ····:goto_0
256 ····check-cast·p1,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;256 ····check-cast·p1,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;
  
257 ····if-eqz·p1,·:cond_3257 ····if-eqz·p1,·:cond_3
  
258 ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getUid()I258 ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getUid()I
  
Offset 269, 22 lines modifiedOffset 269, 22 lines modified
269 ····move-result-object·v2269 ····move-result-object·v2
  
270 ····:cond_3270 ····:cond_3
271 ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I271 ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I
  
272 ····move-result·p1272 ····move-result·p1
  
273 ····.line·191273 ····.line·188
274 ····invoke-static·{p1},·Lkotlin/coroutines/jvm/internal/Boxing;->boxInt(I)Ljava/lang/Integer;274 ····invoke-static·{p1},·Lkotlin/coroutines/jvm/internal/Boxing;->boxInt(I)Ljava/lang/Integer;
  
275 ····move-result-object·v1275 ····move-result-object·v1
  
276 ····if-eqz·v1,·:cond_5276 ····if-eqz·v1,·:cond_5
  
277 ····.line·192277 ····.line·189
278 ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->Companion:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;278 ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->Companion:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;
  
279 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;->getLOG_TAG()Ljava/lang/String;279 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;->getLOG_TAG()Ljava/lang/String;
  
280 ····move-result-object·v1280 ····move-result-object·v1
  
281 ····new-instance·v2,·Ljava/lang/StringBuilder;281 ····new-instance·v2,·Ljava/lang/StringBuilder;
Offset 311, 15 lines modifiedOffset 311, 15 lines modified
  
311 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;311 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
  
312 ····const-string·v4,·"·for"312 ····const-string·v4,·"·for"
  
313 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;313 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
314 ····.line·193314 ····.line·190
315 ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;315 ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;
  
316 ····invoke-static·{v4},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;316 ····invoke-static·{v4},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;
  
317 ····move-result-object·v4317 ····move-result-object·v4
  
318 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;318 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 336, 18 lines modifiedOffset 336, 18 lines modified
  
336 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;336 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
337 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;337 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
338 ····move-result-object·v2338 ····move-result-object·v2
  
339 ····.line·192339 ····.line·189
340 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I340 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
  
341 ····.line·194341 ····.line·191
342 ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z342 ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z
  
343 ····if-eqz·v1,·:cond_4343 ····if-eqz·v1,·:cond_4
  
344 ····const/4·v1,·0x3344 ····const/4·v1,·0x3
  
345 ····goto·:goto_1345 ····goto·:goto_1
Offset 356, 47 lines modifiedOffset 356, 47 lines modified
356 ····const/4·v1,·0x4356 ····const/4·v1,·0x4
  
357 ····:goto_1357 ····:goto_1
358 ····move·v9,·v1358 ····move·v9,·v1
  
359 ····const/16·v4,·0x111359 ····const/16·v4,·0x111
  
360 ····.line·200360 ····.line·197
361 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;361 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;
  
362 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getSessionId$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)J362 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getSessionId$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)J
  
363 ····move-result-wide·v5363 ····move-result-wide·v5
  
364 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;364 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->this$0:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;
  
365 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;365 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String;
  
366 ····move-result-object·v8366 ····move-result-object·v8
  
367 ····move·v7,·p1367 ····move·v7,·p1
  
368 ····.line·199368 ····.line·196
369 ····invoke-static/range·{v4·..·v9},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V369 ····invoke-static/range·{v4·..·v9},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V
  
370 ····.line·203370 ····.line·200
371 ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z371 ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z
  
372 ····xor-int/2addr·v1,·v3372 ····xor-int/2addr·v1,·v3
  
373 ····const-string·v2,·"android:auto_revoke_permissions_if_unused"373 ····const-string·v2,·"android:auto_revoke_permissions_if_unused"
  
374 ····.line·208374 ····.line·205
375 ····invoke-virtual·{v0,·v2,·p1,·v1},·Landroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V375 ····invoke-virtual·{v0,·v2,·p1,·v1},·Landroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V
  
376 ····.line·210376 ····.line·207
377 ····:cond_5377 ····:cond_5
378 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;378 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
  
379 ····return-object·p1379 ····return-object·p1
  
380 ····.line·188380 ····.line·185
381 ····:cond_6381 ····:cond_6
382 ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V382 ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V
  
383 ····throw·v2383 ····throw·v2
384 .end·method384 .end·method