Offset 9, 15 lines modifiedOffset 9, 15 lines modified
9 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$RequestInfo;,9 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$RequestInfo;,
10 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;,10 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;,
11 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$Companion;11 ········Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$Companion;
12 ····}12 ····}
13 .end·annotation13 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/SourceDebugExtension;14 .annotation·system·Ldalvik/annotation/SourceDebugExtension;
15 ····value·=·"SMAP\nGrantPermissionsViewModel.kt\nKotlin\n*S·Kotlin\n*F\n+·1·GrantPermissionsViewModel.kt\ncom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+·3·Maps.kt\nkotlin/collections/MapsKt__MapsKt\n+·4·_Maps.kt\nkotlin/collections/MapsKt___MapsKt\n*L\n1#1,1200:1\n734#2:1201\n825#2,2:1202\n734#2:1211\n825#2,2:1212\n1711#2,3:1221\n734#2:1224\n825#2,2:1225\n734#2:1227\n825#2,2:1228\n355#3,7:1204\n509#3:1214\n494#3,6:1215\n95#4:1230\n122#4,3:1231\n*E\n*S·KotlinDebug\n*F\n+·1·GrantPermissionsViewModel.kt\ncom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel\n*L\n515#1:1201\n515#1,2:1202\n533#1:1211\n533#1,2:1212\n651#1,3:1221\n660#1:1224\n660#1,2:1225\n906#1:1227\n906#1,2:1228\n523#1,7:1204\n587#1:1214\n587#1,6:1215\n1112#1:1230\n1112#1,3:1231\n*E\n"15 ····value·=·"SMAP\nGrantPermissionsViewModel.kt\nKotlin\n*S·Kotlin\n*F\n+·1·GrantPermissionsViewModel.kt\ncom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+·3·Maps.kt\nkotlin/collections/MapsKt__MapsKt\n+·4·_Maps.kt\nkotlin/collections/MapsKt___MapsKt\n*L\n1#1,1193:1\n734#2:1194\n825#2,2:1195\n734#2:1204\n825#2,2:1205\n1711#2,3:1214\n734#2:1217\n825#2,2:1218\n734#2:1220\n825#2,2:1221\n355#3,7:1197\n509#3:1207\n494#3,6:1208\n95#4:1223\n122#4,3:1224\n*E\n*S·KotlinDebug\n*F\n+·1·GrantPermissionsViewModel.kt\ncom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel\n*L\n508#1:1194\n508#1,2:1195\n526#1:1204\n526#1,2:1205\n644#1,3:1214\n653#1:1217\n653#1,2:1218\n899#1:1220\n899#1,2:1221\n516#1,7:1197\n580#1:1207\n580#1,6:1208\n1105#1:1223\n1105#1,3:1224\n*E\n"
16 .end·annotation16 .end·annotation
  
  
17 #·static·fields17 #·static·fields
18 .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$Companion;18 .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$Companion;
19 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;19 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;
20 ····.end·annotation20 ····.end·annotation
Offset 469, 15 lines modifiedOffset 469, 15 lines modified
469 ············">;>;)",469 ············">;>;)",
470 ············"Ljava/util/List<",470 ············"Ljava/util/List<",
471 ············"Ljava/lang/String;",471 ············"Ljava/lang/String;",
472 ············">;"472 ············">;"
473 ········}473 ········}
474 ····.end·annotation474 ····.end·annotation
  
475 ····.line·568475 ····.line·561
476 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->packageInfo:Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;476 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->packageInfo:Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;
  
477 ····if-eqz·v0,·:cond_8477 ····if-eqz·v0,·:cond_8
  
478 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getTargetSdkVersion()I478 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getTargetSdkVersion()I
  
479 ····move-result·v0479 ····move-result·v0
Offset 486, 20 lines modifiedOffset 486, 20 lines modified
  
486 ····new-array·v1,·v1,·[Ljava/lang/String;486 ····new-array·v1,·v1,·[Ljava/lang/String;
  
487 ····const/4·v2,·0x0487 ····const/4·v2,·0x0
  
488 ····aput-object·p1,·v1,·v2488 ····aput-object·p1,·v1,·v2
  
489 ····.line·572489 ····.line·565
490 ····invoke-static·{v1},·Lkotlin/collections/CollectionsKt;->mutableListOf([Ljava/lang/Object;)Ljava/util/List;490 ····invoke-static·{v1},·Lkotlin/collections/CollectionsKt;->mutableListOf([Ljava/lang/Object;)Ljava/util/List;
  
491 ····move-result-object·v1491 ····move-result-object·v1
  
492 ····.line·574492 ····.line·567
493 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;493 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
494 ····const-class·v2,·Landroid/permission/PermissionManager;494 ····const-class·v2,·Landroid/permission/PermissionManager;
  
495 ····invoke-virtual·{p0,·v2},·Landroid/app/Application;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;495 ····invoke-virtual·{p0,·v2},·Landroid/app/Application;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
496 ····move-result-object·p0496 ····move-result-object·p0
Offset 512, 15 lines modifiedOffset 512, 15 lines modified
  
512 ····move-result-object·p0512 ····move-result-object·p0
  
513 ····const-string·v2,·"app.getSystemService(PermissionManager::class.java)!!.splitPermissions"513 ····const-string·v2,·"app.getSystemService(PermissionManager::class.java)!!.splitPermissions"
  
514 ····invoke-static·{p0,·v2},·Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V514 ····invoke-static·{p0,·v2},·Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
  
515 ····.line·575515 ····.line·568
516 ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;516 ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
517 ····move-result-object·p0517 ····move-result-object·p0
  
518 ····:cond_0518 ····:cond_0
519 ····:goto_0519 ····:goto_0
520 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z520 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z
Offset 531, 15 lines modifiedOffset 531, 15 lines modified
  
531 ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object;531 ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
532 ····move-result-object·v2532 ····move-result-object·v2
  
533 ····check-cast·v2,·Landroid/permission/PermissionManager$SplitPermissionInfo;533 ····check-cast·v2,·Landroid/permission/PermissionManager$SplitPermissionInfo;
  
534 ····.line·577534 ····.line·570
535 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getTargetSdk()I535 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getTargetSdk()I
  
536 ····move-result·v3536 ····move-result·v3
  
537 ····if-ge·v0,·v3,·:cond_0537 ····if-ge·v0,·v3,·:cond_0
  
538 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getSplitPermission()Ljava/lang/String;538 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getSplitPermission()Ljava/lang/String;
Offset 548, 15 lines modifiedOffset 548, 15 lines modified
  
548 ····invoke-static·{p1,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z548 ····invoke-static·{p1,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
  
549 ····move-result·v3549 ····move-result·v3
  
550 ····if-eqz·v3,·:cond_0550 ····if-eqz·v3,·:cond_0
  
551 ····.line·578551 ····.line·571
552 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getNewPermissions()Ljava/util/List;552 ····invoke-virtual·{v2},·Landroid/permission/PermissionManager$SplitPermissionInfo;->getNewPermissions()Ljava/util/List;
  
553 ····move-result-object·v2553 ····move-result-object·v2
  
554 ····const-string·v3,·"splitPerm.newPermissions"554 ····const-string·v3,·"splitPerm.newPermissions"
  
555 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V555 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
Offset 566, 20 lines modifiedOffset 566, 20 lines modified
566 ····goto·:goto_0566 ····goto·:goto_0
  
567 ····:cond_1567 ····:cond_1
568 ····const/16·p0,·0x19568 ····const/16·p0,·0x19
  
569 ····if-gt·v0,·p0,·:cond_7569 ····if-gt·v0,·p0,·:cond_7
  
570 ····.line·584570 ····.line·577
571 ····new-instance·p0,·Ljava/util/ArrayList;571 ····new-instance·p0,·Ljava/util/ArrayList;
  
572 ····invoke-direct·{p0},·Ljava/util/ArrayList;-><init>()V572 ····invoke-direct·{p0},·Ljava/util/ArrayList;-><init>()V
  
573 ····.line·586573 ····.line·579
574 ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator;574 ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
575 ····move-result-object·p1575 ····move-result-object·p1
  
576 ····:cond_2576 ····:cond_2
577 ····:goto_1577 ····:goto_1
578 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z578 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z
Offset 618, 15 lines modifiedOffset 618, 15 lines modified
  
618 ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object;618 ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
619 ····move-result-object·v3619 ····move-result-object·v3
  
620 ····check-cast·v3,·Ljava/util/Map$Entry;620 ····check-cast·v3,·Ljava/util/Map$Entry;
  
621 ····.line·587621 ····.line·580
622 ····invoke-interface·{v3},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;622 ····invoke-interface·{v3},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
623 ····move-result-object·v4623 ····move-result-object·v4
  
624 ····check-cast·v4,·Ljava/util/List;624 ····check-cast·v4,·Ljava/util/List;
  
625 ····invoke-interface·{v4,·v0},·Ljava/util/List;->contains(Ljava/lang/Object;)Z625 ····invoke-interface·{v4,·v0},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
Offset 644, 37 lines modifiedOffset 644, 37 lines modified
  
644 ····move-result-object·v3644 ····move-result-object·v3
  
645 ····invoke-interface·{v1,·v4,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;645 ····invoke-interface·{v1,·v4,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
646 ····goto·:goto_2646 ····goto·:goto_2
  
647 ····.line·588647 ····.line·581
648 ····:cond_4648 ····:cond_4
649 ····invoke-interface·{v1},·Ljava/util/Map;->isEmpty()Z649 ····invoke-interface·{v1},·Ljava/util/Map;->isEmpty()Z
  
650 ····move-result·v0650 ····move-result·v0
  
651 ····if-eqz·v0,·:cond_5651 ····if-eqz·v0,·:cond_5
  
652 ····goto·:goto_1652 ····goto·:goto_1
  
653 ····.line·592653 ····.line·585
654 ····:cond_5654 ····:cond_5
655 ····invoke-interface·{v1},·Ljava/util/Map;->values()Ljava/util/Collection;655 ····invoke-interface·{v1},·Ljava/util/Map;->values()Ljava/util/Collection;
  
656 ····move-result-object·v0656 ····move-result-object·v0
  
657 ····invoke-static·{v0},·Lkotlin/collections/CollectionsKt;->first(Ljava/lang/Iterable;)Ljava/lang/Object;657 ····invoke-static·{v0},·Lkotlin/collections/CollectionsKt;->first(Ljava/lang/Iterable;)Ljava/lang/Object;
  
658 ····move-result-object·v0658 ····move-result-object·v0
  
659 ····check-cast·v0,·Ljava/util/List;659 ····check-cast·v0,·Ljava/util/List;
  
660 ····.line·593660 ····.line·586
661 ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator;661 ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
662 ····move-result-object·v0662 ····move-result-object·v0
  
663 ····:goto_3663 ····:goto_3
664 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z664 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
Offset 684, 29 lines modifiedOffset 684, 29 lines modified
  
684 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;684 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
685 ····move-result-object·v1685 ····move-result-object·v1
  
686 ····check-cast·v1,·Ljava/lang/String;686 ····check-cast·v1,·Ljava/lang/String;
  
687 ····.line·594687 ····.line·587
688 ····invoke-interface·{p0,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z688 ····invoke-interface·{p0,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
689 ····goto·:goto_3689 ····goto·:goto_3
  
690 ····:cond_6690 ····:cond_6
691 ····return-object·p0691 ····return-object·p0
  
692 ····:cond_7692 ····:cond_7
693 ····return-object·v1693 ····return-object·v1
  
694 ····:cond_8694 ····:cond_8
695 ····const-string·p0,·"packageInfo"695 ····const-string·p0,·"packageInfo"
  
696 ····.line·568696 ····.line·561
697 ····invoke-static·{p0},·Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V697 ····invoke-static·{p0},·Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
  
698 ····const/4·p0,·0x0698 ····const/4·p0,·0x0
  
699 ····throw·p0699 ····throw·p0
700 .end·method700 .end·method
  
Offset 763, 24 lines modifiedOffset 763, 24 lines modified
  
763 ····move-object·v0,·p0763 ····move-object·v0,·p0
  
764 ····move-object·v1,·p1764 ····move-object·v1,·p1
  
765 ····move-object/from16·v9,·p2765 ····move-object/from16·v9,·p2
  
766 ····.line·644766 ····.line·637
767 ····invoke-direct/range·{p0·..·p2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getStateFromPolicy(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)I767 ····invoke-direct/range·{p0·..·p2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getStateFromPolicy(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)I
  
768 ····move-result·v2768 ····move-result·v2
  
769 ····if-eqz·v2,·:cond_0769 ····if-eqz·v2,·:cond_0
  
770 ····return·v2770 ····return·v2
  
771 ····.line·649771 ····.line·642
772 ····:cond_0772 ····:cond_0
773 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;773 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
774 ····move-result-object·v2774 ····move-result-object·v2
  
775 ····invoke-interface·{v2,·p1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z775 ····invoke-interface·{v2,·p1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
Offset 823, 15 lines modifiedOffset 823, 15 lines modified
  
823 ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object;823 ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
824 ····move-result-object·v5824 ····move-result-object·v5
  
825 ····check-cast·v5,·Ljava/lang/String;825 ····check-cast·v5,·Ljava/lang/String;
  
826 ····.line·652826 ····.line·645
827 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;827 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
828 ····move-result-object·v6828 ····move-result-object·v6
  
829 ····invoke-interface·{v6,·v5},·Ljava/util/List;->contains(Ljava/lang/Object;)Z829 ····invoke-interface·{v6,·v5},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
830 ····move-result·v5830 ····move-result·v5
Offset 843, 28 lines modifiedOffset 843, 28 lines modified
843 ····move·v4,·v11843 ····move·v4,·v11
  
844 ····:goto_0844 ····:goto_0
845 ····const/4·v12,·0x3845 ····const/4·v12,·0x3
  
846 ····if-eqz·v2,·:cond_6846 ····if-eqz·v2,·:cond_6
  
847 ····.line·657847 ····.line·650
848 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;848 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;
  
849 ····move-result-object·v5849 ····move-result-object·v5
  
850 ····invoke-virtual·{v5},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z850 ····invoke-virtual·{v5},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z
  
851 ····move-result·v5851 ····move-result·v5
  
852 ····if-nez·v5,·:cond_6852 ····if-nez·v5,·:cond_6
  
853 ····if-nez·v4,·:cond_6853 ····if-nez·v4,·:cond_6
  
854 ····.line·658854 ····.line·651
855 ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->LOG_TAG:Ljava/lang/String;855 ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->LOG_TAG:Ljava/lang/String;
  
856 ····new-instance·v4,·Ljava/lang/StringBuilder;856 ····new-instance·v4,·Ljava/lang/StringBuilder;
  
857 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V857 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V
  
858 ····const-string·v5,·"Cannot·grant·"858 ····const-string·v5,·"Cannot·grant·"
Offset 905, 64 lines modifiedOffset 905, 64 lines modified
  
905 ····move-result-object·v3905 ····move-result-object·v3
  
906 ····move-object·v4,·v3906 ····move-object·v4,·v3
  
907 ····check-cast·v4,·Ljava/lang/String;907 ····check-cast·v4,·Ljava/lang/String;
  
908 ····.line·661908 ····.line·654
909 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;909 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
910 ····move-result-object·v5910 ····move-result-object·v5
  
911 ····invoke-interface·{v5,·v4},·Ljava/util/List;->contains(Ljava/lang/Object;)Z911 ····invoke-interface·{v5,·v4},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
912 ····move-result·v4912 ····move-result·v4
  
913 ····if-eqz·v4,·:cond_4913 ····if-eqz·v4,·:cond_4
  
914 ····invoke-interface·{v1,·v3},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z914 ····invoke-interface·{v1,·v3},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z
  
915 ····goto·:goto_1915 ····goto·:goto_1
  
916 ····.line·663916 ····.line·656
917 ····:cond_5917 ····:cond_5
918 ····invoke-direct·{p0,·v1,·v11},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/util/List;I)V918 ····invoke-direct·{p0,·v1,·v11},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/util/List;I)V
  
919 ····return·v12919 ····return·v12
  
920 ····:cond_6920 ····:cond_6
921 ····if-eqz·v2,·:cond_7921 ····if-eqz·v2,·:cond_7
  
922 ····.line·668922 ····.line·661
923 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;923 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;
  
924 ····move-result-object·v3924 ····move-result-object·v3
  
925 ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z925 ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z
  
926 ····move-result·v3926 ····move-result·v3
  
927 ····if-nez·v3,·:cond_8927 ····if-nez·v3,·:cond_8
  
928 ····:cond_7928 ····:cond_7
929 ····if-nez·v2,·:cond_f929 ····if-nez·v2,·:cond_f
  
930 ····.line·669930 ····.line·662
931 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;931 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;
  
932 ····move-result-object·v3932 ····move-result-object·v3
  
933 ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z933 ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGranted()Z
  
934 ····move-result·v3934 ····move-result·v3
  
935 ····if-eqz·v3,·:cond_f935 ····if-eqz·v3,·:cond_f
  
936 ····.line·672936 ····.line·665
937 ····:cond_8937 ····:cond_8
938 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;938 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;
  
939 ····move-result-object·v3939 ····move-result-object·v3
  
940 ····const-string·v4,·"android.permission-group.LOCATION"940 ····const-string·v4,·"android.permission-group.LOCATION"
  
Offset 970, 15 lines modifiedOffset 970, 15 lines modified
  
970 ····move-result·v3970 ····move-result·v3
  
971 ····const/4·v4,·0x0971 ····const/4·v4,·0x0
  
972 ····if-eqz·v3,·:cond_a972 ····if-eqz·v3,·:cond_a
  
973 ····.line·673973 ····.line·666
974 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getAllPermissions()Ljava/util/Map;974 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getAllPermissions()Ljava/util/Map;
  
975 ····move-result-object·v3975 ····move-result-object·v3
  
976 ····const-string·v5,·"android.permission.ACCESS_FINE_LOCATION"976 ····const-string·v5,·"android.permission.ACCESS_FINE_LOCATION"
  
977 ····invoke-interface·{v3,·v5},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;977 ····invoke-interface·{v3,·v5},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
Offset 998, 27 lines modifiedOffset 998, 27 lines modified
  
998 ····move-result·v3998 ····move-result·v3
  
999 ····invoke-static·{v3},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;999 ····invoke-static·{v3},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
  
1000 ····move-result-object·v31000 ····move-result-object·v3
  
1001 ····.line·6741001 ····.line·667
1002 ····:goto_21002 ····:goto_2
1003 ····sget-object·v5,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;1003 ····sget-object·v5,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
  
1004 ····invoke-static·{v3,·v5},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z1004 ····invoke-static·{v3,·v5},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
  
1005 ····move-result·v31005 ····move-result·v3
  
1006 ····if-eqz·v3,·:cond_a1006 ····if-eqz·v3,·:cond_a
  
1007 ····return·v101007 ····return·v10
  
1008 ····.line·6781008 ····.line·671
1009 ····:cond_a1009 ····:cond_a
1010 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;1010 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;
  
1011 ····move-result-object·v31011 ····move-result-object·v3
  
1012 ····invoke-interface·{v3,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;1012 ····invoke-interface·{v3,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
Offset 1046, 28 lines modifiedOffset 1046, 28 lines modified
  
1046 ····move-result·v31046 ····move-result·v3
  
1047 ····if-eqz·v3,·:cond_d1047 ····if-eqz·v3,·:cond_d
  
1048 ····if-eqz·v2,·:cond_c1048 ····if-eqz·v2,·:cond_c
  
1049 ····.line·6801049 ····.line·673
1050 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1050 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1051 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1051 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1052 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1052 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
1053 ····move-result-object·v41053 ····move-result-object·v4
  
1054 ····invoke-virtual·{v2,·v3,·v9,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantBackgroundRuntimePermissions(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1054 ····invoke-virtual·{v2,·v3,·v9,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantBackgroundRuntimePermissions(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1055 ····goto·:goto_41055 ····goto·:goto_4
  
1056 ····.line·6821056 ····.line·675
1057 ····:cond_c1057 ····:cond_c
1058 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1058 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1059 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1059 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1060 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1060 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
Offset 1079, 15 lines modifiedOffset 1079, 15 lines modified
  
1079 ····const/4·v8,·0x01079 ····const/4·v8,·0x0
  
1080 ····move-object/from16·v4,·p21080 ····move-object/from16·v4,·p2
  
1081 ····invoke-static/range·{v2·..·v8},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantForegroundRuntimePermissions$default(Lcom/android/permissioncontroller/permission/utils/KotlinUtils;Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;ZILjava/lang/Object;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1081 ····invoke-static/range·{v2·..·v8},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantForegroundRuntimePermissions$default(Lcom/android/permissioncontroller/permission/utils/KotlinUtils;Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;ZILjava/lang/Object;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1082 ····.line·6841082 ····.line·677
1083 ····:goto_41083 ····:goto_4
1084 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1084 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1085 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1085 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1086 ····const/4·v4,·0x21086 ····const/4·v4,·0x2
  
Offset 1099, 38 lines modifiedOffset 1099, 38 lines modified
  
1099 ····invoke-static·{v6,·v13},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1099 ····invoke-static·{v6,·v13},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1100 ····move-result-object·v61100 ····move-result-object·v6
  
1101 ····aput-object·v6,·v5,·v101101 ····aput-object·v6,·v5,·v10
  
1102 ····.line·6851102 ····.line·678
1103 ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;1103 ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  
1104 ····move-result-object·v41104 ····move-result-object·v4
  
1105 ····invoke-static·{v4,·v13},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1105 ····invoke-static·{v4,·v13},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1106 ····move-result-object·v41106 ····move-result-object·v4
  
1107 ····aput-object·v4,·v5,·v111107 ····aput-object·v4,·v5,·v11
  
1108 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1108 ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
1109 ····move-result-object·v41109 ····move-result-object·v4
  
1110 ····.line·6841110 ····.line·677
1111 ····invoke-virtual·{v2,·v3,·v9,·v5,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1111 ····invoke-virtual·{v2,·v3,·v9,·v5,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1112 ····const/4·v2,·0x51112 ····const/4·v2,·0x5
  
1113 ····.line·6861113 ····.line·679
1114 ····invoke-direct·{p0,·p1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V1114 ····invoke-direct·{p0,·p1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V
  
1115 ····.line·6901115 ····.line·683
1116 ····:cond_d1116 ····:cond_d
1117 ····iget-object·v0,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;1117 ····iget-object·v0,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;
  
1118 ····if-nez·v0,·:cond_e1118 ····if-nez·v0,·:cond_e
  
1119 ····move·v11,·v121119 ····move·v11,·v12
  
Offset 1176, 56 lines modifiedOffset 1176, 56 lines modified
  
1176 ····move-result-object·v01176 ····move-result-object·v0
  
1177 ····move-object·v1,·v01177 ····move-object·v1,·v0
  
1178 ····check-cast·v1,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1178 ····check-cast·v1,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1179 ····.line·9061179 ····.line·899
1180 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;1180 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;
  
1181 ····move-result-object·v11181 ····move-result-object·v1
  
1182 ····invoke-interface·{v1,·p1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z1182 ····invoke-interface·{v1,·p1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
1183 ····move-result·v11183 ····move-result·v1
  
1184 ····if-eqz·v1,·:cond_01184 ····if-eqz·v1,·:cond_0
  
1185 ····invoke-interface·{p0,·v0},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z1185 ····invoke-interface·{p0,·v0},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z
  
1186 ····goto·:goto_01186 ····goto·:goto_0
  
1187 ····.line·9071187 ····.line·900
1188 ····:cond_11188 ····:cond_1
1189 ····invoke-interface·{p0},·Ljava/util/List;->isEmpty()Z1189 ····invoke-interface·{p0},·Ljava/util/List;->isEmpty()Z
  
1190 ····move-result·p11190 ····move-result·p1
  
1191 ····if-eqz·p1,·:cond_21191 ····if-eqz·p1,·:cond_2
  
1192 ····const/4·p0,·0x01192 ····const/4·p0,·0x0
  
1193 ····return-object·p01193 ····return-object·p0
  
1194 ····.line·9101194 ····.line·903
1195 ····:cond_21195 ····:cond_2
1196 ····invoke-static·{p0},·Lkotlin/collections/CollectionsKt;->first(Ljava/util/List;)Ljava/lang/Object;1196 ····invoke-static·{p0},·Lkotlin/collections/CollectionsKt;->first(Ljava/util/List;)Ljava/lang/Object;
  
1197 ····move-result-object·p01197 ····move-result-object·p0
  
1198 ····check-cast·p0,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1198 ····check-cast·p0,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1199 ····return-object·p01199 ····return-object·p0
1200 .end·method1200 .end·method
  
1201 .method·private·final·getInstanceStateKey(Ljava/lang/String;Z)Ljava/lang/String;1201 .method·private·final·getInstanceStateKey(Ljava/lang/String;Z)Ljava/lang/String;
1202 ····.locals·11202 ····.locals·1
  
1203 ····.line·10531203 ····.line·1046
1204 ····new-instance·p0,·Ljava/lang/StringBuilder;1204 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1205 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1205 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1206 ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;1206 ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;
  
1207 ····invoke-virtual·{v0},·Ljava/lang/Class;->getName()Ljava/lang/String;1207 ····invoke-virtual·{v0},·Ljava/lang/Class;->getName()Ljava/lang/String;
Offset 1269, 20 lines modifiedOffset 1269, 20 lines modified
1269 ········}1269 ········}
1270 ····.end·annotation1270 ····.end·annotation
  
1271 ····move-object/from16·v0,·p01271 ····move-object/from16·v0,·p0
  
1272 ····move-object/from16·v1,·p11272 ····move-object/from16·v1,·p1
  
1273 ····.line·5141273 ····.line·507
1274 ····new-instance·v2,·Ljava/util/LinkedHashMap;1274 ····new-instance·v2,·Ljava/util/LinkedHashMap;
  
1275 ····invoke-direct·{v2},·Ljava/util/LinkedHashMap;-><init>()V1275 ····invoke-direct·{v2},·Ljava/util/LinkedHashMap;-><init>()V
  
1276 ····.line·5151276 ····.line·508
1277 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->unfilteredAffectedPermissions:Ljava/util/List;1277 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->unfilteredAffectedPermissions:Ljava/util/List;
  
1278 ····.line·7341278 ····.line·734
1279 ····new-instance·v4,·Ljava/util/ArrayList;1279 ····new-instance·v4,·Ljava/util/ArrayList;
  
1280 ····invoke-direct·{v4},·Ljava/util/ArrayList;-><init>()V1280 ····invoke-direct·{v4},·Ljava/util/ArrayList;-><init>()V
  
Offset 1303, 22 lines modifiedOffset 1303, 22 lines modified
  
1303 ····move-result-object·v51303 ····move-result-object·v5
  
1304 ····move-object·v7,·v51304 ····move-object·v7,·v5
  
1305 ····check-cast·v7,·Ljava/lang/String;1305 ····check-cast·v7,·Ljava/lang/String;
  
1306 ····.line·5161306 ····.line·509
1307 ····invoke-direct·{v0,·v7,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupWithPerm(Ljava/lang/String;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1307 ····invoke-direct·{v0,·v7,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupWithPerm(Ljava/lang/String;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1308 ····move-result-object·v81308 ····move-result-object·v8
  
1309 ····if-eqz·v8,·:cond_11309 ····if-eqz·v8,·:cond_1
  
1310 ····.line·5171310 ····.line·510
1311 ····invoke-direct·{v0,·v7,·v8},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->isPermissionGrantableAndNotFixed(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)Z1311 ····invoke-direct·{v0,·v7,·v8},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->isPermissionGrantableAndNotFixed(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)Z
  
1312 ····move-result·v71312 ····move-result·v7
  
1313 ····if-eqz·v7,·:cond_11313 ····if-eqz·v7,·:cond_1
  
1314 ····const/4·v6,·0x11314 ····const/4·v6,·0x1
Offset 1331, 15 lines modifiedOffset 1331, 15 lines modified
1331 ····:goto_11331 ····:goto_1
1332 ····if-eqz·v6,·:cond_01332 ····if-eqz·v6,·:cond_0
  
1333 ····invoke-interface·{v4,·v5},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z1333 ····invoke-interface·{v4,·v5},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z
  
1334 ····goto·:goto_01334 ····goto·:goto_0
  
1335 ····.line·5191335 ····.line·512
1336 ····:cond_21336 ····:cond_2
1337 ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator;1337 ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
1338 ····move-result-object·v31338 ····move-result-object·v3
  
1339 ····:goto_21339 ····:goto_2
1340 ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z1340 ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z
Offset 1350, 31 lines modifiedOffset 1350, 31 lines modified
  
1350 ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object;1350 ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
1351 ····move-result-object·v51351 ····move-result-object·v5
  
1352 ····check-cast·v5,·Ljava/lang/String;1352 ····check-cast·v5,·Ljava/lang/String;
  
1353 ····.line·5201353 ····.line·513
1354 ····invoke-direct·{v0,·v5,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupWithPerm(Ljava/lang/String;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1354 ····invoke-direct·{v0,·v5,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupWithPerm(Ljava/lang/String;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1355 ····move-result-object·v141355 ····move-result-object·v14
  
1356 ····invoke-static·{v14},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V1356 ····invoke-static·{v14},·Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
  
1357 ····.line·5221357 ····.line·515
1358 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;1358 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
1359 ····move-result-object·v71359 ····move-result-object·v7
  
1360 ····invoke-interface·{v7,·v5},·Ljava/util/List;->contains(Ljava/lang/Object;)Z1360 ····invoke-interface·{v7,·v5},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
1361 ····move-result·v151361 ····move-result·v15
  
1362 ····.line·5231362 ····.line·516
1363 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;1363 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;
  
1364 ····move-result-object·v71364 ····move-result-object·v7
  
1365 ····invoke-static·{v15},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;1365 ····invoke-static·{v15},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
  
1366 ····move-result-object·v81366 ····move-result-object·v8
Offset 1386, 15 lines modifiedOffset 1386, 15 lines modified
1386 ····.line·3551386 ····.line·355
1387 ····invoke-interface·{v2,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;1387 ····invoke-interface·{v2,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
1388 ····move-result-object·v71388 ····move-result-object·v7
  
1389 ····if-nez·v7,·:cond_31389 ····if-nez·v7,·:cond_3
  
1390 ····.line·5241390 ····.line·517
1391 ····new-instance·v12,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;1391 ····new-instance·v12,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;
  
1392 ····const/4·v10,·0x01392 ····const/4·v10,·0x0
  
1393 ····const/4·v11,·0x01393 ····const/4·v11,·0x0
  
1394 ····const/16·v16,·0xc1394 ····const/16·v16,·0xc
Offset 1418, 31 lines modifiedOffset 1418, 31 lines modified
1418 ····invoke-direct/range·{v7·..·v13},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;-><init>(Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;ZLjava/util/List;IILkotlin/jvm/internal/DefaultConstructorMarker;)V1418 ····invoke-direct/range·{v7·..·v13},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;-><init>(Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;ZLjava/util/List;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
  
1419 ····.line·3581419 ····.line·358
1420 ····invoke-interface·{v2,·v1,·v6},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;1420 ····invoke-interface·{v2,·v1,·v6},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
1421 ····move-object·v7,·v61421 ····move-object·v7,·v6
  
1422 ····.line·5231422 ····.line·516
1423 ····:cond_31423 ····:cond_3
1424 ····check-cast·v7,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;1424 ····check-cast·v7,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;
  
1425 ····.line·5271425 ····.line·520
1426 ····invoke-virtual·{v7},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->getState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()I1426 ····invoke-virtual·{v7},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->getState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()I
  
1427 ····move-result·v11427 ····move-result·v1
  
1428 ····.line·5281428 ····.line·521
1429 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;1429 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;
  
1430 ····if-eqz·v6,·:cond_41430 ····if-eqz·v6,·:cond_4
  
1431 ····if-eqz·v1,·:cond_41431 ····if-eqz·v1,·:cond_4
  
1432 ····.line·5291432 ····.line·522
1433 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;1433 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;
  
1434 ····move-result-object·v11434 ····move-result-object·v1
  
1435 ····invoke-direct·{v0,·v1,·v15},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getInstanceStateKey(Ljava/lang/String;Z)Ljava/lang/String;1435 ····invoke-direct·{v0,·v1,·v15},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getInstanceStateKey(Ljava/lang/String;Z)Ljava/lang/String;
  
1436 ····move-result-object·v11436 ····move-result-object·v1
Offset 1481, 40 lines modifiedOffset 1481, 40 lines modified
  
1481 ····move-result-object·v101481 ····move-result-object·v10
  
1482 ····move-object·v11,·v101482 ····move-object·v11,·v10
  
1483 ····check-cast·v11,·Ljava/lang/String;1483 ····check-cast·v11,·Ljava/lang/String;
  
1484 ····.line·5331484 ····.line·526
1485 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;1485 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;
  
1486 ····move-result-object·v121486 ····move-result-object·v12
  
1487 ····invoke-interface·{v12,·v11},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z1487 ····invoke-interface·{v12,·v11},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
1488 ····move-result·v111488 ····move-result·v11
  
1489 ····if-eqz·v11,·:cond_51489 ····if-eqz·v11,·:cond_5
  
1490 ····invoke-interface·{v6,·v10},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z1490 ····invoke-interface·{v6,·v10},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z
  
1491 ····goto·:goto_41491 ····goto·:goto_4
  
1492 ····.line·5341492 ····.line·527
1493 ····:cond_61493 ····:cond_6
1494 ····invoke-direct·{v0,·v5,·v14,·v6},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupState(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)I1494 ····invoke-direct·{v0,·v5,·v14,·v6},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getGroupState(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)I
  
1495 ····move-result·v61495 ····move-result·v6
  
1496 ····if-eqz·v6,·:cond_71496 ····if-eqz·v6,·:cond_7
  
1497 ····move·v1,·v61497 ····move·v1,·v6
  
1498 ····.line·5391498 ····.line·532
1499 ····:cond_71499 ····:cond_7
1500 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->permGroupsToSkip:Ljava/util/List;1500 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->permGroupsToSkip:Ljava/util/List;
  
1501 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;1501 ····invoke-virtual·{v14},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermGroupName()Ljava/lang/String;
  
1502 ····move-result-object·v91502 ····move-result-object·v9
  
Offset 1525, 20 lines modifiedOffset 1525, 20 lines modified
1525 ····if-eqz·v6,·:cond_81525 ····if-eqz·v6,·:cond_8
  
1526 ····const/4·v1,·0x31526 ····const/4·v1,·0x3
  
1527 ····:cond_81527 ····:cond_8
1528 ····if-eqz·v1,·:cond_91528 ····if-eqz·v1,·:cond_9
  
1529 ····.line·5441529 ····.line·537
1530 ····invoke-virtual·{v7,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(I)V1530 ····invoke-virtual·{v7,·v1},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(I)V
  
1531 ····.line·5471531 ····.line·540
1532 ····:cond_91532 ····:cond_9
1533 ····invoke-virtual·{v7},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()Ljava/util/List;1533 ····invoke-virtual·{v7},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel$GroupState;->getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()Ljava/util/List;
  
1534 ····move-result-object·v11534 ····move-result-object·v1
  
1535 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z1535 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
1536 ····move-object/from16·v1,·p11536 ····move-object/from16·v1,·p1
  
Offset 1553, 24 lines modifiedOffset 1553, 24 lines modified
  
1553 ····move-object·v0,·p01553 ····move-object·v0,·p0
  
1554 ····move-object/from16·v1,·p11554 ····move-object/from16·v1,·p1
  
1555 ····move-object/from16·v9,·p21555 ····move-object/from16·v9,·p2
  
1556 ····.line·7001556 ····.line·693
1557 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;1557 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
1558 ····move-result-object·v21558 ····move-result-object·v2
  
1559 ····invoke-interface·{v2,·v1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z1559 ····invoke-interface·{v2,·v1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
1560 ····move-result·v21560 ····move-result·v2
  
1561 ····.line·7031561 ····.line·696
1562 ····iget·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->permissionPolicy:I1562 ····iget·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->permissionPolicy:I
  
1563 ····const/4·v10,·0x41563 ····const/4·v10,·0x4
  
1564 ····const/4·v11,·0x31564 ····const/4·v11,·0x3
  
1565 ····const/4·v12,·0x01565 ····const/4·v12,·0x0
Offset 1581, 15 lines modifiedOffset 1581, 15 lines modified
  
1581 ····if-eq·v3,·v14,·:cond_31581 ····if-eq·v3,·v14,·:cond_3
  
1582 ····if-eq·v3,·v13,·:cond_01582 ····if-eq·v3,·v13,·:cond_0
  
1583 ····goto/16·:goto_21583 ····goto/16·:goto_2
  
1584 ····.line·7251584 ····.line·718
1585 ····:cond_01585 ····:cond_0
1586 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;1586 ····invoke-virtual/range·{p2·..·p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;
  
1587 ····move-result-object·v21587 ····move-result-object·v2
  
1588 ····invoke-interface·{v2,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;1588 ····invoke-interface·{v2,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
Offset 1617, 15 lines modifiedOffset 1617, 15 lines modified
  
1617 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z1617 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
  
1618 ····move-result·v21618 ····move-result·v2
  
1619 ····if-eqz·v2,·:cond_21619 ····if-eqz·v2,·:cond_2
  
1620 ····.line·7261620 ····.line·719
1621 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1621 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1622 ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1622 ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1623 ····new-array·v5,·v11,·[Lkotlin/Pair;1623 ····new-array·v5,·v11,·[Lkotlin/Pair;
  
1624 ····invoke-static·{v10},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;1624 ····invoke-static·{v10},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
Offset 1636, 15 lines modifiedOffset 1636, 15 lines modified
  
1636 ····invoke-static·{v6,·v7},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1636 ····invoke-static·{v6,·v7},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1637 ····move-result-object·v61637 ····move-result-object·v6
  
1638 ····aput-object·v6,·v5,·v121638 ····aput-object·v6,·v5,·v12
  
1639 ····.line·7271639 ····.line·720
1640 ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;1640 ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  
1641 ····move-result-object·v61641 ····move-result-object·v6
  
1642 ····invoke-static·{v6,·v3},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1642 ····invoke-static·{v6,·v3},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1643 ····move-result-object·v61643 ····move-result-object·v6
Offset 1657, 65 lines modifiedOffset 1657, 65 lines modified
  
1657 ····invoke-static·{v6,·v3},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1657 ····invoke-static·{v6,·v3},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1658 ····move-result-object·v31658 ····move-result-object·v3
  
1659 ····aput-object·v3,·v5,·v131659 ····aput-object·v3,·v5,·v13
  
1660 ····.line·7281660 ····.line·721
1661 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1661 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
1662 ····move-result-object·v31662 ····move-result-object·v3
  
1663 ····.line·7261663 ····.line·719
1664 ····invoke-virtual·{v2,·v4,·v9,·v5,·v3},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1664 ····invoke-virtual·{v2,·v4,·v9,·v5,·v3},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1665 ····:cond_21665 ····:cond_2
1666 ····const/16·v2,·0x81666 ····const/16·v2,·0x8
  
1667 ····.line·7331667 ····.line·726
1668 ····invoke-direct·{p0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V1668 ····invoke-direct·{p0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V
  
1669 ····move·v12,·v141669 ····move·v12,·v14
  
1670 ····goto·:goto_31670 ····goto·:goto_3
  
1671 ····.line·7061671 ····.line·699
1672 ····:cond_31672 ····:cond_3
1673 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1673 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1674 ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->user:Landroid/os/UserHandle;1674 ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->user:Landroid/os/UserHandle;
  
1675 ····invoke-virtual·{v4},·Landroid/os/UserHandle;->getIdentifier()I1675 ····invoke-virtual·{v4},·Landroid/os/UserHandle;->getIdentifier()I
  
1676 ····move-result·v41676 ····move-result·v4
  
1677 ····.line·7051677 ····.line·698
1678 ····invoke-static·{v3,·v1,·v4},·Lcom/android/permissioncontroller/permission/utils/AdminRestrictedPermissionsUtils;->mayAdminGrantPermission(Landroid/content/Context;Ljava/lang/String;I)Z1678 ····invoke-static·{v3,·v1,·v4},·Lcom/android/permissioncontroller/permission/utils/AdminRestrictedPermissionsUtils;->mayAdminGrantPermission(Landroid/content/Context;Ljava/lang/String;I)Z
  
1679 ····move-result·v31679 ····move-result·v3
  
1680 ····if-eqz·v3,·:cond_51680 ····if-eqz·v3,·:cond_5
  
1681 ····if-eqz·v2,·:cond_41681 ····if-eqz·v2,·:cond_4
  
1682 ····.line·7081682 ····.line·701
1683 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1683 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1684 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1684 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1685 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1685 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
1686 ····move-result-object·v41686 ····move-result-object·v4
  
1687 ····invoke-virtual·{v2,·v3,·v9,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantBackgroundRuntimePermissions(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1687 ····invoke-virtual·{v2,·v3,·v9,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantBackgroundRuntimePermissions(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1688 ····goto·:goto_11688 ····goto·:goto_1
  
1689 ····.line·7101689 ····.line·703
1690 ····:cond_41690 ····:cond_4
1691 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1691 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1692 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1692 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1693 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1693 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
Offset 1727, 15 lines modifiedOffset 1727, 15 lines modified
  
1727 ····const/4·v8,·0x01727 ····const/4·v8,·0x0
  
1728 ····move-object/from16·v4,·p21728 ····move-object/from16·v4,·p2
  
1729 ····invoke-static/range·{v2·..·v8},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantForegroundRuntimePermissions$default(Lcom/android/permissioncontroller/permission/utils/KotlinUtils;Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;ZILjava/lang/Object;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1729 ····invoke-static/range·{v2·..·v8},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->grantForegroundRuntimePermissions$default(Lcom/android/permissioncontroller/permission/utils/KotlinUtils;Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;Ljava/util/List;ZILjava/lang/Object;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1730 ····.line·7121730 ····.line·705
1731 ····:goto_11731 ····:goto_1
1732 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;1732 ····sget-object·v2,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
1733 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;1733 ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->app:Landroid/app/Application;
  
1734 ····new-array·v4,·v11,·[Lkotlin/Pair;1734 ····new-array·v4,·v11,·[Lkotlin/Pair;
  
Offset 1747, 15 lines modifiedOffset 1747, 15 lines modified
  
1747 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1747 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1748 ····move-result-object·v51748 ····move-result-object·v5
  
1749 ····aput-object·v5,·v4,·v121749 ····aput-object·v5,·v4,·v12
  
1750 ····.line·7131750 ····.line·706
1751 ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;1751 ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  
1752 ····move-result-object·v51752 ····move-result-object·v5
  
1753 ····sget-object·v6,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;1753 ····sget-object·v6,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
  
1754 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1754 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
Offset 1770, 58 lines modifiedOffset 1770, 58 lines modified
  
1770 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;1770 ····invoke-static·{v5,·v6},·Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
  
1771 ····move-result-object·v51771 ····move-result-object·v5
  
1772 ····aput-object·v5,·v4,·v131772 ····aput-object·v5,·v4,·v13
  
1773 ····.line·7141773 ····.line·707
1774 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;1774 ····invoke-static/range·{p1·..·p1},·Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
  
1775 ····move-result-object·v51775 ····move-result-object·v5
  
1776 ····.line·7121776 ····.line·705
1777 ····invoke-virtual·{v2,·v3,·v9,·v4,·v5},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;1777 ····invoke-virtual·{v2,·v3,·v9,·v4,·v5},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->setGroupFlags(Landroid/app/Application;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;[Lkotlin/Pair;Ljava/util/List;)Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;
  
1778 ····.line·7181778 ····.line·711
1779 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getAutoGrantNotifier()Lcom/android/permissioncontroller/permission/ui/AutoGrantPermissionsNotifier;1779 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->getAutoGrantNotifier()Lcom/android/permissioncontroller/permission/ui/AutoGrantPermissionsNotifier;
  
1780 ····move-result-object·v21780 ····move-result-object·v2
  
1781 ····invoke-virtual·{v2,·v1},·Lcom/android/permissioncontroller/permission/ui/AutoGrantPermissionsNotifier;->onPermissionAutoGranted(Ljava/lang/String;)V1781 ····invoke-virtual·{v2,·v1},·Lcom/android/permissioncontroller/permission/ui/AutoGrantPermissionsNotifier;->onPermissionAutoGranted(Ljava/lang/String;)V
  
1782 ····const/4·v2,·0x51782 ····const/4·v2,·0x5
  
1783 ····.line·7191783 ····.line·712
1784 ····invoke-direct·{p0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V1784 ····invoke-direct·{p0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V
  
1785 ····move·v12,·v141785 ····move·v12,·v14
  
1786 ····:cond_51786 ····:cond_5
1787 ····:goto_21787 ····:goto_2
1788 ····move·v13,·v121788 ····move·v13,·v12
  
1789 ····:goto_31789 ····:goto_3
1790 ····if-eqz·v12,·:cond_61790 ····if-eqz·v12,·:cond_6
  
1791 ····.line·7371791 ····.line·730
1792 ····iget-object·v0,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;1792 ····iget-object·v0,·v0,·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->storedState:Landroid/os/Bundle;
  
1793 ····if-nez·v0,·:cond_61793 ····if-nez·v0,·:cond_6
  
1794 ····return·v111794 ····return·v11
  
1795 ····:cond_61795 ····:cond_6
1796 ····return·v131796 ····return·v13
1797 .end·method1797 .end·method
  
1798 .method·private·final·isPermissionGrantableAndNotFixed(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)Z1798 .method·private·final·isPermissionGrantableAndNotFixed(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;)Z
1799 ····.locals·41799 ····.locals·4
  
1800 ····.line·6081800 ····.line·601
1801 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPackageInfo()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;1801 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPackageInfo()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;
  
1802 ····move-result-object·v01802 ····move-result-object·v0
  
1803 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getRequestedPermissions()Ljava/util/List;1803 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo;->getRequestedPermissions()Ljava/util/List;
  
1804 ····move-result-object·v01804 ····move-result-object·v0
Offset 1842, 45 lines modifiedOffset 1842, 45 lines modified
  
1842 ····move-result·v01842 ····move-result·v0
  
1843 ····if-nez·v0,·:cond_01843 ····if-nez·v0,·:cond_0
  
1844 ····const/16·p2,·0x91844 ····const/16·p2,·0x9
  
1845 ····.line·6091845 ····.line·602
1846 ····invoke-direct·{p0,·p1,·p2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V1846 ····invoke-direct·{p0,·p1,·p2},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V
  
1847 ····return·v11847 ····return·v1
  
1848 ····.line·6141848 ····.line·607
1849 ····:cond_01849 ····:cond_0
1850 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;1850 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackgroundPermNames()Ljava/util/List;
  
1851 ····move-result-object·v01851 ····move-result-object·v0
  
1852 ····invoke-interface·{v0,·p1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z1852 ····invoke-interface·{v0,·p1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z
  
1853 ····move-result·v01853 ····move-result·v0
  
1854 ····if-eqz·v0,·:cond_11854 ····if-eqz·v0,·:cond_1
  
1855 ····.line·6151855 ····.line·608
1856 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;1856 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getBackground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;
  
1857 ····move-result-object·v01857 ····move-result-object·v0
  
1858 ····goto·:goto_01858 ····goto·:goto_0
  
1859 ····.line·6171859 ····.line·610
1860 ····:cond_11860 ····:cond_1
1861 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;1861 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getForeground()Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;
  
1862 ····move-result-object·v01862 ····move-result-object·v0
  
1863 ····.line·6201863 ····.line·613
1864 ····:goto_01864 ····:goto_0
1865 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;1865 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup;->getPermissions()Ljava/util/Map;
  
1866 ····move-result-object·p21866 ····move-result-object·p2
  
1867 ····invoke-interface·{p2,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;1867 ····invoke-interface·{p2,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
Offset 1888, 45 lines modifiedOffset 1888, 45 lines modified
  
1888 ····check-cast·p2,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPermission;1888 ····check-cast·p2,·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightPermission;
  
1889 ····if-nez·p2,·:cond_21889 ····if-nez·p2,·:cond_2
  
1890 ····return·v11890 ····return·v1
  
1891 ····.line·6221891 ····.line·615
1892 ····:cond_21892 ····:cond_2
1893 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGrantable()Z1893 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/livedatatypes/LightAppPermGroup$AppPermSubGroup;->isGrantable()Z
  
1894 ····move-result·v21894 ····move-result·v2
  
1895 ····const/4·v3,·0x11895 ····const/4·v3,·0x1
  
1896 ····if-nez·v2,·:cond_31896 ····if-nez·v2,·:cond_3
  
1897 ····.line·6231897 ····.line·616
1898 ····invoke-direct·{p0,·p1,·v3},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V1898 ····invoke-direct·{p0,·p1,·v3},·Lcom/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel;->reportRequestResult(Ljava/lang/String;I)V
Max diff block lines reached; 57657/95278 bytes (60.51%) of diff not shown.