| | | |
Offset 30, 15 lines modified | Offset 30, 15 lines modified |
30 | ····} | 30 | ····} |
31 | .end·annotation | 31 | .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 | ········0xbd | 36 | ········0xba |
37 | ····} | 37 | ····} |
38 | ····m·=·"invokeSuspend" | 38 | ····m·=·"invokeSuspend" |
39 | .end·annotation | 39 | .end·annotation |
| |
| |
40 | #·instance·fields | 40 | #·instance·fields |
41 | .field·final·synthetic·$enabled:Z | 41 | .field·final·synthetic·$enabled:Z |
Offset 144, 15 lines modified | Offset 144, 15 lines modified |
144 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; | 144 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; |
145 | ····.end·annotation | 145 | ····.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·v0 | 147 | ····move-result-object·v0 |
| |
148 | ····.line·187 | 148 | ····.line·184 |
149 | ····iget·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->label:I | 149 | ····iget·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->label:I |
| |
150 | ····const/4·v2,·0x0 | 150 | ····const/4·v2,·0x0 |
| |
151 | ····const/4·v3,·0x1 | 151 | ····const/4·v3,·0x1 |
| |
152 | ····if-eqz·v1,·:cond_1 | 152 | ····if-eqz·v1,·:cond_1 |
Offset 167, 31 lines modified | Offset 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;)V | 168 | ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V |
| |
169 | ····goto·:goto_0 | 169 | ····goto·:goto_0 |
| |
170 | ····.line·210 | 170 | ····.line·207 |
171 | ····:cond_0 | 171 | ····: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;)V | 174 | ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
175 | ····throw·p1 | 175 | ····throw·p1 |
| |
176 | ····.line·187 | 176 | ····.line·184 |
177 | ····:cond_1 | 177 | ····:cond_1 |
178 | ····invoke-static·{p1},·Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V | 178 | ····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·188 | 180 | ····.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·v1 | 183 | ····move-result-object·v1 |
| |
184 | ····const-class·v4,·Landroid/app/AppOpsManager; | 184 | ····const-class·v4,·Landroid/app/AppOpsManager; |
Offset 200, 15 lines modified | Offset 200, 15 lines modified |
| |
200 | ····move-result-object·v1 | 200 | ····move-result-object·v1 |
| |
201 | ····if-eqz·v1,·:cond_6 | 201 | ····if-eqz·v1,·:cond_6 |
| |
202 | ····check-cast·v1,·Landroid/app/AppOpsManager; | 202 | ····check-cast·v1,·Landroid/app/AppOpsManager; |
| |
203 | ····.line·189 | 203 | ····.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·v5 | 207 | ····move-result-object·v5 |
Offset 250, 15 lines modified | Offset 250, 15 lines modified |
250 | ····if-ne·p1,·v0,·:cond_2 | 250 | ····if-ne·p1,·v0,·:cond_2 |
| |
251 | ····return-object·v0 | 251 | ····return-object·v0 |
| |
252 | ····:cond_2 | 252 | ····:cond_2 |
253 | ····move-object·v0,·v1 | 253 | ····move-object·v0,·v1 |
| |
254 | ····.line·187 | 254 | ····.line·184 |
255 | ····:goto_0 | 255 | ····: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_3 | 257 | ····if-eqz·p1,·:cond_3 |
| |
258 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getUid()I | 258 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getUid()I |
| |
Offset 269, 22 lines modified | Offset 269, 22 lines modified |
269 | ····move-result-object·v2 | 269 | ····move-result-object·v2 |
| |
270 | ····:cond_3 | 270 | ····:cond_3 |
271 | ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I | 271 | ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I |
| |
272 | ····move-result·p1 | 272 | ····move-result·p1 |
| |
273 | ····.line·191 | 273 | ····.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·v1 | 275 | ····move-result-object·v1 |
| |
276 | ····if-eqz·v1,·:cond_5 | 276 | ····if-eqz·v1,·:cond_5 |
| |
277 | ····.line·192 | 277 | ····.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·v1 | 280 | ····move-result-object·v1 |
| |
281 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 281 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
Offset 311, 15 lines modified | Offset 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·193 | 314 | ····.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·v4 | 317 | ····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 modified | Offset 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·v2 | 338 | ····move-result-object·v2 |
| |
339 | ····.line·192 | 339 | ····.line·189 |
340 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 340 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
341 | ····.line·194 | 341 | ····.line·191 |
342 | ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z | 342 | ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z |
| |
343 | ····if-eqz·v1,·:cond_4 | 343 | ····if-eqz·v1,·:cond_4 |
| |
344 | ····const/4·v1,·0x3 | 344 | ····const/4·v1,·0x3 |
| |
345 | ····goto·:goto_1 | 345 | ····goto·:goto_1 |
Offset 356, 47 lines modified | Offset 356, 47 lines modified |
356 | ····const/4·v1,·0x4 | 356 | ····const/4·v1,·0x4 |
| |
357 | ····:goto_1 | 357 | ····:goto_1 |
358 | ····move·v9,·v1 | 358 | ····move·v9,·v1 |
| |
359 | ····const/16·v4,·0x111 | 359 | ····const/16·v4,·0x111 |
| |
360 | ····.line·200 | 360 | ····.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;)J | 362 | ····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·v5 | 363 | ····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·v8 | 366 | ····move-result-object·v8 |
| |
367 | ····move·v7,·p1 | 367 | ····move·v7,·p1 |
| |
368 | ····.line·199 | 368 | ····.line·196 |
369 | ····invoke-static/range·{v4·..·v9},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V | 369 | ····invoke-static/range·{v4·..·v9},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V |
| |
370 | ····.line·203 | 370 | ····.line·200 |
371 | ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z | 371 | ····iget-boolean·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1;->$enabled:Z |
| |
372 | ····xor-int/2addr·v1,·v3 | 372 | ····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·208 | 374 | ····.line·205 |
375 | ····invoke-virtual·{v0,·v2,·p1,·v1},·Landroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V | 375 | ····invoke-virtual·{v0,·v2,·p1,·v1},·Landroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V |
| |
376 | ····.line·210 | 376 | ····.line·207 |
377 | ····:cond_5 | 377 | ····:cond_5 |
378 | ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; | 378 | ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; |
| |
379 | ····return-object·p1 | 379 | ····return-object·p1 |
| |
380 | ····.line·188 | 380 | ····.line·185 |
381 | ····:cond_6 | 381 | ····:cond_6 |
382 | ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V | 382 | ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V |
| |
383 | ····throw·v2 | 383 | ····throw·v2 |
384 | .end·method | 384 | .end·method |