| | | |
Offset 31, 53 lines modified | Offset 31, 62 lines modified |
31 | .field·private·mPermissionChangeListener:Landroid/content/pm/PackageManager$OnPermissionsChangedListener; | 31 | .field·private·mPermissionChangeListener:Landroid/content/pm/PackageManager$OnPermissionsChangedListener; |
| |
| |
32 | #·direct·methods | 32 | #·direct·methods |
33 | .method·public·constructor·<init>()V | 33 | .method·public·constructor·<init>()V |
34 | ····.locals·0 | 34 | ····.locals·0 |
| |
35 | ····.line·62 | 35 | ····.line·66 |
36 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/auto/AutoSettingsFrameFragment;-><init>()V | 36 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/auto/AutoSettingsFrameFragment;-><init>()V |
| |
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
| |
39 | .method·static·synthetic·access$200(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;)V | 39 | .method·static·synthetic·access$200(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;I)V |
40 | ····.locals·0 | 40 | ····.locals·0 |
| |
41 | ····.line·62 | 41 | ····.line·66 |
| 42 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->onDenyAnyWay(I)V |
| |
| 43 | ····return-void |
| 44 | .end·method |
| |
| 45 | .method·static·synthetic·access$300(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;)V |
| 46 | ····.locals·0 |
| |
| 47 | ····.line·66 |
42 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V | 48 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V |
| |
43 | ····return-void | 49 | ····return-void |
44 | .end·method | 50 | .end·method |
| |
45 | .method·static·synthetic·access$302(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 51 | .method·static·synthetic·access$402(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
46 | ····.locals·0 | 52 | ····.locals·0 |
| |
47 | ····.line·62 | 53 | ····.line·66 |
48 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 54 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
49 | ····return-object·p1 | 55 | ····return-object·p1 |
50 | .end·method | 56 | .end·method |
| |
51 | .method·static·synthetic·access$400(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 57 | .method·static·synthetic·access$500(Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
52 | ····.locals·0 | 58 | ····.locals·0 |
| |
53 | ····.line·62 | 59 | ····.line·66 |
54 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->getAppPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 60 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->getAppPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
55 | ····move-result-object·p0 | 61 | ····move-result-object·p0 |
| |
56 | ····return-object·p0 | 62 | ····return-object·p0 |
57 | .end·method | 63 | .end·method |
| |
58 | .method·private·getAdmin()Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin; | 64 | .method·private·getAdmin()Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin; |
59 | ····.locals·2 | 65 | ····.locals·2 |
| |
60 | ····.line·448 | 66 | ····.line·469 |
61 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; | 67 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; |
| |
62 | ····move-result-object·v0 | 68 | ····move-result-object·v0 |
| |
63 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 69 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
64 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getUser()Landroid/os/UserHandle; | 70 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getUser()Landroid/os/UserHandle; |
Offset 90, 152 lines modified | Offset 99, 162 lines modified |
| |
90 | ····return-object·v0 | 99 | ····return-object·v0 |
91 | .end·method | 100 | .end·method |
| |
92 | .method·private·getAppPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 101 | .method·private·getAppPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
93 | ····.locals·10 | 102 | ····.locals·10 |
| |
94 | ····.line·145 | 103 | ····.line·157 |
95 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 104 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity; |
| |
96 | ····move-result-object·v0 | 105 | ····move-result-object·v0 |
| |
97 | ····.line·146 | 106 | ····.line·158 |
98 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 107 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
99 | ····move-result-object·v1 | 108 | ····move-result-object·v1 |
| |
100 | ····invoke-virtual·{v1},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 109 | ····invoke-virtual·{v1},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
101 | ····move-result-object·v1 | 110 | ····move-result-object·v1 |
| |
102 | ····.line·148 | 111 | ····.line·160 |
103 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 112 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle; |
| |
104 | ····move-result-object·v2 | 113 | ····move-result-object·v2 |
| |
105 | ····const-string·v3,·"android.intent.extra.PACKAGE_NAME" | 114 | ····const-string·v3,·"android.intent.extra.PACKAGE_NAME" |
| |
106 | ····invoke-virtual·{v2,·v3},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; | 115 | ····invoke-virtual·{v2,·v3},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; |
| |
107 | ····move-result-object·v2 | 116 | ····move-result-object·v2 |
| |
108 | ····.line·149 | 117 | ····.line·161 |
109 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 118 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle; |
| |
110 | ····move-result-object·v3 | 119 | ····move-result-object·v3 |
| |
111 | ····const-string·v4,·"android.intent.extra.PERMISSION_GROUP_NAME" | 120 | ····const-string·v4,·"android.intent.extra.PERMISSION_GROUP_NAME" |
| |
112 | ····invoke-virtual·{v3,·v4},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; | 121 | ····invoke-virtual·{v3,·v4},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; |
| |
113 | ····move-result-object·v3 | 122 | ····move-result-object·v3 |
| |
114 | ····if-nez·v3,·:cond_0 | 123 | ····if-nez·v3,·:cond_0 |
| |
115 | ····.line·151 | 124 | ····.line·163 |
116 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 125 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle; |
| |
117 | ····move-result-object·v3 | 126 | ····move-result-object·v3 |
| |
118 | ····const-string·v4,·"android.intent.extra.PERMISSION_NAME" | 127 | ····const-string·v4,·"android.intent.extra.PERMISSION_NAME" |
| |
119 | ····invoke-virtual·{v3,·v4},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; | 128 | ····invoke-virtual·{v3,·v4},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; |
| |
120 | ····move-result-object·v3 | 129 | ····move-result-object·v3 |
| |
121 | ····.line·153 | 130 | ····.line·165 |
122 | ····:cond_0 | 131 | ····:cond_0 |
123 | ····invoke-static·{v3,·v1},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupInfo(Ljava/lang/String;Landroid/content/Context;)Landroid/content/pm/PackageItemInfo; | 132 | ····invoke-static·{v3,·v1},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupInfo(Ljava/lang/String;Landroid/content/Context;)Landroid/content/pm/PackageItemInfo; |
| |
124 | ····move-result-object·v4 | 133 | ····move-result-object·v4 |
| |
125 | ····.line·154 | 134 | ····.line·166 |
126 | ····invoke-static·{v3,·v1},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupPermissionInfos(Ljava/lang/String;Landroid/content/Context;)Ljava/util/List; | 135 | ····invoke-static·{v3,·v1},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupPermissionInfos(Ljava/lang/String;Landroid/content/Context;)Ljava/util/List; |
| |
127 | ····move-result-object·v5 | 136 | ····move-result-object·v5 |
| |
128 | ····const-string·v6,·"Illegal·group:·" | 137 | ····const-string·v6,·"Illegal·group:·" |
| |
129 | ····const/4·v7,·0x0 | 138 | ····const/4·v7,·0x0 |
| |
130 | ····const-string·v8,·"AppPermissionFragment" | 139 | ····const-string·v8,·"AppPermissionFragment" |
| |
131 | ····if-eqz·v4,·:cond_6 | 140 | ····if-eqz·v4,·:cond_7 |
| |
132 | ····if-nez·v5,·:cond_1 | 141 | ····if-nez·v5,·:cond_1 |
| |
133 | ····goto·:goto_2 | 142 | ····goto·:goto_2 |
| |
134 | ····.line·159 | 143 | ····.line·171 |
135 | ····:cond_1 | 144 | ····:cond_1 |
136 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 145 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle; |
| |
137 | ····move-result-object·v3 | 146 | ····move-result-object·v3 |
| |
138 | ····const-string·v9,·"android.intent.extra.USER" | 147 | ····const-string·v9,·"android.intent.extra.USER" |
| |
139 | ····invoke-virtual·{v3,·v9},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; | 148 | ····invoke-virtual·{v3,·v9},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; |
| |
140 | ····move-result-object·v3 | 149 | ····move-result-object·v3 |
| |
141 | ····check-cast·v3,·Landroid/os/UserHandle; | 150 | ····check-cast·v3,·Landroid/os/UserHandle; |
| |
142 | ····.line·160 | 151 | ····if-nez·v3,·:cond_2 |
| |
| 152 | ····const-string·v0,·"User·handle·is·null" |
| |
| 153 | ····.line·173 |
| 154 | ····invoke-static·{v8,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 155 | ····return-object·v7 |
| |
| 156 | ····.line·176 |
| 157 | ····:cond_2 |
143 | ····invoke-static·{v0,·v2,·v3},·Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionsUtils;->getPackageInfo(Landroid/app/Activity;Ljava/lang/String;Landroid/os/UserHandle;)Landroid/content/pm/PackageInfo; | 158 | ····invoke-static·{v0,·v2,·v3},·Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionsUtils;->getPackageInfo(Landroid/app/Activity;Ljava/lang/String;Landroid/os/UserHandle;)Landroid/content/pm/PackageInfo; |
| |
144 | ····move-result-object·v0 | 159 | ····move-result-object·v0 |
| |
145 | ····if-nez·v0,·:cond_2 | 160 | ····if-nez·v0,·:cond_3 |
| |
146 | ····const-string·v0,·"PackageInfo·is·null" | 161 | ····const-string·v0,·"PackageInfo·is·null" |
| |
147 | ····.line·163 | 162 | ····.line·179 |
148 | ····invoke-static·{v8,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 163 | ····invoke-static·{v8,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
149 | ····return-object·v7 | 164 | ····return-object·v7 |
| |
150 | ····:cond_2 | 165 | ····:cond_3 |
151 | ····const/4·v2,·0x0 | 166 | ····const/4·v2,·0x0 |
| |
152 | ····.line·166 | 167 | ····.line·182 |
153 | ····invoke-static·{v1,·v0,·v4,·v5,·v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->create(Landroid/content/Context;Landroid/content/pm/PackageInfo;Landroid/content/pm/PackageItemInfo;Ljava/util/List;Z)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 168 | ····invoke-static·{v1,·v0,·v4,·v5,·v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->create(Landroid/content/Context;Landroid/content/pm/PackageInfo;Landroid/content/pm/PackageItemInfo;Ljava/util/List;Z)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
154 | ····move-result-object·v0 | 169 | ····move-result-object·v0 |
| |
155 | ····if-eqz·v0,·:cond_4 | 170 | ····if-eqz·v0,·:cond_5 |
| |
156 | ····.line·169 | 171 | ····.line·185 |
157 | ····invoke-static·{v1,·v0},·Lcom/android/permissioncontroller/permission/utils/Utils;->shouldShowPermission(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z | 172 | ····invoke-static·{v1,·v0},·Lcom/android/permissioncontroller/permission/utils/Utils;->shouldShowPermission(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z |
| |
158 | ····move-result·v1 | 173 | ····move-result·v1 |
| |
159 | ····if-nez·v1,·:cond_3 | 174 | ····if-nez·v1,·:cond_4 |
| |
160 | ····goto·:goto_0 | 175 | ····goto·:goto_0 |
| |
161 | ····:cond_3 | 176 | ····:cond_4 |
162 | ····return-object·v0 | 177 | ····return-object·v0 |
| |
163 | ····.line·170 | 178 | ····.line·186 |
164 | ····:cond_4 | 179 | ····:cond_5 |
165 | ····:goto_0 | 180 | ····:goto_0 |
166 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 181 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
167 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 182 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
168 | ····invoke-virtual·{v1,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 183 | ····invoke-virtual·{v1,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
169 | ····if-nez·v0,·:cond_5 | 184 | ····if-nez·v0,·:cond_6 |
| |
170 | ····const-string·v0,·"null" | 185 | ····const-string·v0,·"null" |
| |
171 | ····goto·:goto_1 | 186 | ····goto·:goto_1 |
| |
172 | ····:cond_5 | 187 | ····:cond_6 |
173 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; | 188 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; |
| |
174 | ····move-result-object·v0 | 189 | ····move-result-object·v0 |
| |
175 | ····:goto_1 | 190 | ····:goto_1 |
176 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 191 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
Offset 243, 16 lines modified | Offset 262, 16 lines modified |
| |
243 | ····move-result-object·v0 | 262 | ····move-result-object·v0 |
| |
244 | ····invoke-static·{v8,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 263 | ····invoke-static·{v8,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
245 | ····return-object·v7 | 264 | ····return-object·v7 |
| |
246 | ····.line·156 | 265 | ····.line·168 |
247 | ····:cond_6 | 266 | ····:cond_7 |
248 | ····:goto_2 | 267 | ····:goto_2 |
249 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 268 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
250 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 269 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
251 | ····invoke-virtual·{v0,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 270 | ····invoke-virtual·{v0,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
Offset 266, 26 lines modified | Offset 285, 26 lines modified |
| |
266 | ····return-object·v7 | 285 | ····return-object·v7 |
267 | .end·method | 286 | .end·method |
| |
268 | .method·private·isBackgroundPolicyFixed()Z | 287 | .method·private·isBackgroundPolicyFixed()Z |
269 | ····.locals·1 | 288 | ····.locals·1 |
| |
270 | ····.line·417 | 289 | ····.line·438 |
271 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 290 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
272 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 291 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
273 | ····move-result-object·v0 | 292 | ····move-result-object·v0 |
| |
274 | ····if-eqz·v0,·:cond_0 | 293 | ····if-eqz·v0,·:cond_0 |
| |
275 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 294 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
276 | ····.line·418 | 295 | ····.line·439 |
277 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 296 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
278 | ····move-result-object·v0 | 297 | ····move-result-object·v0 |
| |
279 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isPolicyFixed()Z | 298 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isPolicyFixed()Z |
| |
280 | ····move-result·v0 | 299 | ····move-result·v0 |
Offset 302, 15 lines modified | Offset 321, 15 lines modified |
302 | ····:goto_0 | 321 | ····:goto_0 |
303 | ····return·v0 | 322 | ····return·v0 |
304 | .end·method | 323 | .end·method |
| |
305 | .method·private·isForegroundDisabledByPolicy()Z | 324 | .method·private·isForegroundDisabledByPolicy()Z |
306 | ····.locals·1 | 325 | ····.locals·1 |
| |
307 | ····.line·438 | 326 | ····.line·459 |
308 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isForegroundPolicyFixed()Z | 327 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isForegroundPolicyFixed()Z |
| |
309 | ····move-result·v0 | 328 | ····move-result·v0 |
| |
310 | ····if-eqz·v0,·:cond_0 | 329 | ····if-eqz·v0,·:cond_0 |
| |
311 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 330 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
Offset 331, 43 lines modified | Offset 350, 43 lines modified |
331 | ····:goto_0 | 350 | ····:goto_0 |
332 | ····return·v0 | 351 | ····return·v0 |
333 | .end·method | 352 | .end·method |
| |
334 | .method·private·isForegroundPolicyFixed()Z | 353 | .method·private·isForegroundPolicyFixed()Z |
335 | ····.locals·1 | 354 | ····.locals·1 |
| |
336 | ····.line·407 | 355 | ····.line·428 |
337 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 356 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
338 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isPolicyFixed()Z | 357 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isPolicyFixed()Z |
| |
339 | ····move-result·v0 | 358 | ····move-result·v0 |
| |
340 | ····return·v0 | 359 | ····return·v0 |
341 | .end·method | 360 | .end·method |
| |
342 | .method·private·isPolicyFullyFixed()Z | 361 | .method·private·isPolicyFullyFixed()Z |
343 | ····.locals·1 | 362 | ····.locals·1 |
| |
344 | ····.line·427 | 363 | ····.line·448 |
345 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isForegroundPolicyFixed()Z | 364 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isForegroundPolicyFixed()Z |
| |
346 | ····move-result·v0 | 365 | ····move-result·v0 |
| |
347 | ····if-eqz·v0,·:cond_1 | 366 | ····if-eqz·v0,·:cond_1 |
| |
348 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 367 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
349 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 368 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
350 | ····move-result-object·v0 | 369 | ····move-result-object·v0 |
| |
351 | ····if-eqz·v0,·:cond_0 | 370 | ····if-eqz·v0,·:cond_0 |
| |
352 | ····.line·428 | 371 | ····.line·449 |
353 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isBackgroundPolicyFixed()Z | 372 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->isBackgroundPolicyFixed()Z |
| |
354 | ····move-result·v0 | 373 | ····move-result·v0 |
| |
355 | ····if-eqz·v0,·:cond_1 | 374 | ····if-eqz·v0,·:cond_1 |
| |
356 | ····:cond_0 | 375 | ····:cond_0 |
Offset 381, 90 lines modified | Offset 400, 103 lines modified |
381 | ····:goto_0 | 400 | ····:goto_0 |
382 | ····return·v0 | 401 | ····return·v0 |
383 | .end·method | 402 | .end·method |
| |
384 | .method·private·isSystemFixed()Z | 403 | .method·private·isSystemFixed()Z |
385 | ····.locals·1 | 404 | ····.locals·1 |
| |
386 | ····.line·397 | 405 | ····.line·418 |
387 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 406 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
388 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isSystemFixed()Z | 407 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->isSystemFixed()Z |
| |
389 | ····move-result·v0 | 408 | ····move-result·v0 |
| |
390 | ····return·v0 | 409 | ····return·v0 |
391 | .end·method | 410 | .end·method |
| |
392 | .method·private·synthetic·lambda$updateUi$0(Landroidx/preference/Preference;)Z | 411 | .method·private·synthetic·lambda$updateUi$0(Landroidx/preference/Preference;)Z |
393 | ····.locals·1 | 412 | ····.locals·1 |
| |
| 413 | ····const/4·p1,·0x0 |
| |
| 414 | ····.line·301 |
| 415 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->setResult(I)V |
| |
394 | ····const/4·p1,·0x1 | 416 | ····const/4·p1,·0x1 |
| |
395 | ····const/4·v0,·0x3 | 417 | ····const/4·v0,·0x3 |
| |
396 | ····.line·285 | 418 | ····.line·302 |
397 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 419 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
398 | ····move-result·p1 | 420 | ····move-result·p1 |
| |
399 | ····return·p1 | 421 | ····return·p1 |
400 | .end·method | 422 | .end·method |
| |
401 | .method·private·synthetic·lambda$updateUi$1(Landroidx/preference/Preference;)Z | 423 | .method·private·synthetic·lambda$updateUi$1(Landroidx/preference/Preference;)Z |
402 | ····.locals·1 | 424 | ····.locals·2 |
| |
403 | ····const/4·p1,·0x0 | 425 | ····const/4·p1,·0x1 |
| |
404 | ····const/4·v0,·0x2 | 426 | ····.line·305 |
| 427 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->setResult(I)V |
| |
405 | ····.line·287 | 428 | ····const/4·v0,·0x0 |
406 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | |
| |
407 | ····const/4·p1,·0x1 | 429 | ····const/4·v1,·0x2 |
| |
408 | ····.line·288 | 430 | ····.line·306 |
| 431 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
| 432 | ····.line·307 |
409 | ····invoke-direct·{p0,·p1,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 433 | ····invoke-direct·{p0,·p1,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
410 | ····return·p1 | 434 | ····return·p1 |
411 | .end·method | 435 | .end·method |
| |
412 | .method·private·synthetic·lambda$updateUi$2(Landroidx/preference/Preference;)Z | 436 | .method·private·synthetic·lambda$updateUi$2(Landroidx/preference/Preference;)Z |
413 | ····.locals·1 | 437 | ····.locals·1 |
| |
| 438 | ····const/4·p1,·0x2 |
| |
| 439 | ····.line·311 |
| 440 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->setResult(I)V |
| |
414 | ····const/4·p1,·0x0 | 441 | ····const/4·p1,·0x0 |
| |
415 | ····const/4·v0,·0x3 | 442 | ····const/4·v0,·0x3 |
| |
416 | ····.line·292 | 443 | ····.line·312 |
417 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 444 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
418 | ····move-result·p1 | 445 | ····move-result·p1 |
| |
419 | ····return·p1 | 446 | ····return·p1 |
420 | .end·method | 447 | .end·method |
| |
421 | .method·private·synthetic·lambda$updateUi$3(Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin;Lcom/android/permissioncontroller/permission/ui/auto/AutoTwoTargetPreference;)V | 448 | .method·private·synthetic·lambda$updateUi$3(Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin;Lcom/android/permissioncontroller/permission/ui/auto/AutoTwoTargetPreference;)V |
422 | ····.locals·0 | 449 | ····.locals·0 |
| |
423 | ····.line·319 | 450 | ····.line·340 |
424 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; | 451 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; |
| |
425 | ····move-result-object·p2 | 452 | ····move-result-object·p2 |
| |
426 | ····.line·318 | 453 | ····.line·339 |
427 | ····invoke-static·{p2,·p1},·Lcom/android/settingslib/RestrictedLockUtils;->sendShowAdminSupportDetailsIntent(Landroid/content/Context;Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin;)V | 454 | ····invoke-static·{p2,·p1},·Lcom/android/settingslib/RestrictedLockUtils;->sendShowAdminSupportDetailsIntent(Landroid/content/Context;Lcom/android/settingslib/RestrictedLockUtils$EnforcedAdmin;)V |
| |
428 | ····return-void | 455 | ····return-void |
429 | .end·method | 456 | .end·method |
| |
430 | .method·private·synthetic·lambda$updateUi$4(Lcom/android/permissioncontroller/permission/ui/auto/AutoTwoTargetPreference;)V | 457 | .method·private·synthetic·lambda$updateUi$4(Lcom/android/permissioncontroller/permission/ui/auto/AutoTwoTargetPreference;)V |
431 | ····.locals·0 | 458 | ····.locals·0 |
| |
432 | ····.line·329 | 459 | ····.line·350 |
433 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 460 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
434 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; | 461 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; |
| |
435 | ····move-result-object·p1 | 462 | ····move-result-object·p1 |
| |
436 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->showAllPermissions(Ljava/lang/String;)V | 463 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->showAllPermissions(Ljava/lang/String;)V |
Offset 475, 240 lines modified | Offset 507, 366 lines modified |
475 | .method·private·synthetic·lambda$updateUi$5(Landroidx/preference/Preference;)Z | 507 | .method·private·synthetic·lambda$updateUi$5(Landroidx/preference/Preference;)Z |
476 | ····.locals·1 | 508 | ····.locals·1 |
| |
477 | ····const/4·p1,·0x0 | 509 | ····const/4·p1,·0x0 |
| |
478 | ····const/4·v0,·0x1 | 510 | ····const/4·v0,·0x1 |
| |
479 | ····.line·339 | 511 | ····.line·360 |
480 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 512 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
481 | ····move-result·p1 | 513 | ····move-result·p1 |
| |
482 | ····return·p1 | 514 | ····return·p1 |
483 | .end·method | 515 | .end·method |
| |
484 | .method·private·synthetic·lambda$updateUi$6(Landroidx/preference/Preference;)Z | 516 | .method·private·synthetic·lambda$updateUi$6(Landroidx/preference/Preference;)Z |
485 | ····.locals·1 | 517 | ····.locals·1 |
| |
486 | ····const/4·p1,·0x0 | 518 | ····const/4·p1,·0x0 |
| |
487 | ····const/4·v0,·0x1 | 519 | ····const/4·v0,·0x1 |
| |
488 | ····.line·350 | 520 | ····.line·371 |
489 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 521 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
490 | ····move-result·p1 | 522 | ····move-result·p1 |
| |
491 | ····return·p1 | 523 | ····return·p1 |
492 | .end·method | 524 | .end·method |
| |
493 | .method·private·synthetic·lambda$updateUi$7(Landroidx/preference/Preference;)Z | 525 | .method·private·synthetic·lambda$updateUi$7(Landroidx/preference/Preference;)Z |
494 | ····.locals·1 | 526 | ····.locals·1 |
| |
495 | ····const/4·p1,·0x1 | 527 | ····const/4·p1,·0x1 |
| |
496 | ····const/4·v0,·0x2 | 528 | ····const/4·v0,·0x2 |
| |
497 | ····.line·359 | 529 | ····.line·380 |
498 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 530 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
499 | ····move-result·p1 | 531 | ····move-result·p1 |
| |
500 | ····return·p1 | 532 | ····return·p1 |
501 | .end·method | 533 | .end·method |
| |
502 | .method·private·synthetic·lambda$updateUi$8(Landroidx/preference/Preference;)Z | 534 | .method·private·synthetic·lambda$updateUi$8(Landroidx/preference/Preference;)Z |
503 | ····.locals·1 | 535 | ····.locals·1 |
| |
504 | ····const/4·p1,·0x0 | 536 | ····const/4·p1,·0x0 |
| |
505 | ····const/4·v0,·0x2 | 537 | ····const/4·v0,·0x2 |
| |
506 | ····.line·361 | 538 | ····.line·382 |
507 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z | 539 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->requestChange(ZI)Z |
| |
508 | ····move-result·p1 | 540 | ····move-result·p1 |
| |
509 | ····return·p1 | 541 | ····return·p1 |
510 | .end·method | 542 | .end·method |
| |
511 | .method·public·static·newInstance(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment; | 543 | .method·public·static·newInstance(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment; |
512 | ····.locals·3 | 544 | ····.locals·3 |
| |
513 | ····.line·114 | 545 | ····.line·118 |
514 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment; | 546 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment; |
| |
515 | ····invoke-direct·{v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;-><init>()V | 547 | ····invoke-direct·{v0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;-><init>()V |
| |
516 | ····.line·115 | 548 | ····.line·119 |
517 | ····new-instance·v1,·Landroid/os/Bundle; | 549 | ····new-instance·v1,·Landroid/os/Bundle; |
| |
518 | ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V | 550 | ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V |
| |
519 | ····const-string·v2,·"android.intent.extra.PACKAGE_NAME" | 551 | ····const-string·v2,·"android.intent.extra.PACKAGE_NAME" |
| |
520 | ····.line·116 | 552 | ····.line·120 |
521 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 553 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
522 | ····if-nez·p2,·:cond_0 | 554 | ····if-nez·p2,·:cond_0 |
| |
523 | ····const-string·p0,·"android.intent.extra.PERMISSION_NAME" | 555 | ····const-string·p0,·"android.intent.extra.PERMISSION_NAME" |
| |
524 | ····.line·118 | 556 | ····.line·122 |
525 | ····invoke-virtual·{v1,·p0,·p1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 557 | ····invoke-virtual·{v1,·p0,·p1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
526 | ····goto·:goto_0 | 558 | ····goto·:goto_0 |
| |
527 | ····:cond_0 | 559 | ····:cond_0 |
528 | ····const-string·p0,·"android.intent.extra.PERMISSION_GROUP_NAME" | 560 | ····const-string·p0,·"android.intent.extra.PERMISSION_GROUP_NAME" |
| |
529 | ····.line·120 | 561 | ····.line·124 |
530 | ····invoke-virtual·{v1,·p0,·p2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 562 | ····invoke-virtual·{v1,·p0,·p2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
531 | ····:goto_0 | 563 | ····:goto_0 |
532 | ····const-string·p0,·"android.intent.extra.USER" | 564 | ····const-string·p0,·"android.intent.extra.USER" |
| |
533 | ····.line·122 | 565 | ····.line·126 |
534 | ····invoke-virtual·{v1,·p0,·p3},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V | 566 | ····invoke-virtual·{v1,·p0,·p3},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V |
| |
535 | ····.line·123 | 567 | ····.line·127 |
536 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V | 568 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V |
| |
537 | ····return-object·v0 | 569 | ····return-object·v0 |
538 | .end·method | 570 | .end·method |
| |
| 571 | .method·private·onDenyAnyWay(I)V |
| 572 | ····.locals·2 |
| |
| 573 | ····and-int/lit8·v0,·p1,·0x1 |
| |
| 574 | ····const/4·v1,·0x0 |
| |
| 575 | ····if-eqz·v0,·:cond_1 |
| |
| 576 | ····.line·741 |
| 577 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 578 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
| 579 | ····move-result·v0 |
| |
| 580 | ····if-eqz·v0,·:cond_0 |
| |
| 581 | ····.line·742 |
| 582 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 583 | ····invoke-static·{v0},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
| 584 | ····.line·745 |
| 585 | ····:cond_0 |
| 586 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 587 | ····invoke-virtual·{v0,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z |
| |
| 588 | ····.line·746 |
| 589 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 590 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z |
| |
| 591 | ····move-result·v0 |
| |
| 592 | ····goto·:goto_0 |
| |
| 593 | ····:cond_1 |
| 594 | ····move·v0,·v1 |
| |
| 595 | ····:goto_0 |
| 596 | ····and-int/lit8·p1,·p1,·0x2 |
| |
| 597 | ····if-eqz·p1,·:cond_3 |
| |
| 598 | ····.line·749 |
| 599 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 600 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 601 | ····move-result-object·p1 |
| |
| 602 | ····if-eqz·p1,·:cond_3 |
| |
| 603 | ····.line·750 |
| 604 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 605 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 606 | ····move-result-object·p1 |
| |
| 607 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
| 608 | ····move-result·p1 |
| |
| 609 | ····if-eqz·p1,·:cond_2 |
| |
| 610 | ····.line·751 |
| 611 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 612 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 613 | ····move-result-object·p1 |
| |
| 614 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
| 615 | ····.line·754 |
| 616 | ····:cond_2 |
| 617 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 618 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 619 | ····move-result-object·p1 |
| |
| 620 | ····invoke-virtual·{p1,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z |
| |
| 621 | ····.line·755 |
| 622 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 623 | ····.line·756 |
| 624 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 625 | ····move-result-object·p1 |
| |
| 626 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z |
| |
| 627 | ····move-result·p1 |
| |
| 628 | ····or-int/2addr·v0,·p1 |
| |
| 629 | ····:cond_3 |
| 630 | ····if-nez·v0,·:cond_4 |
| |
| 631 | ····.line·760 |
| 632 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 633 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->doesSupportRuntimePermissions()Z |
| |
| 634 | ····move-result·p1 |
| |
| 635 | ····if-nez·p1,·:cond_5 |
| |
| 636 | ····:cond_4 |
| 637 | ····const/4·p1,·0x1 |
| |
| 638 | ····.line·761 |
| 639 | ····iput-boolean·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mHasConfirmedRevoke:Z |
| |
| 640 | ····.line·763 |
| 641 | ····:cond_5 |
| 642 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V |
| |
| 643 | ····return-void |
| 644 | .end·method |
| |
539 | .method·private·requestChange(ZI)Z | 645 | .method·private·requestChange(ZI)Z |
540 | ····.locals·6 | 646 | ····.locals·6 |
| |
541 | ····.line·597 | 647 | ····.line·616 |
542 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; | 648 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; |
| |
543 | ····move-result-object·v0 | 649 | ····move-result-object·v0 |
| |
544 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 650 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
545 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; | 651 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; |
| |
546 | ····move-result-object·v1 | 652 | ····move-result-object·v1 |
| |
547 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 653 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
548 | ····.line·598 | 654 | ····.line·617 |
549 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; | 655 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; |
| |
550 | ····move-result-object·v2 | 656 | ····move-result-object·v2 |
| |
551 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; | 657 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; |
| |
552 | ····.line·597 | 658 | ····.line·616 |
553 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndProvider(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z | 659 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndProvider(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z |
| |
554 | ····move-result·v0 | 660 | ····move-result·v0 |
| |
555 | ····const/4·v1,·0x0 | 661 | ····const/4·v1,·0x0 |
| |
556 | ····if-eqz·v0,·:cond_0 | 662 | ····if-eqz·v0,·:cond_0 |
| |
557 | ····.line·599 | 663 | ····.line·618 |
558 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; | 664 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; |
| |
559 | ····move-result-object·p1 | 665 | ····move-result-object·p1 |
| |
560 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 666 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
561 | ····.line·600 | 667 | ····.line·619 |
562 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; | 668 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; |
| |
563 | ····move-result-object·p2 | 669 | ····move-result-object·p2 |
| |
564 | ····iget-object·p2,·p2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 670 | ····iget-object·p2,·p2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
| |
565 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; | 671 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context; |
| |
566 | ····move-result-object·v0 | 672 | ····move-result-object·v0 |
| |
567 | ····invoke-static·{p2,·v0},·Lcom/android/permissioncontroller/permission/utils/Utils;->getAppLabel(Landroid/content/pm/ApplicationInfo;Landroid/content/Context;)Ljava/lang/String; | 673 | ····invoke-static·{p2,·v0},·Lcom/android/permissioncontroller/permission/utils/Utils;->getAppLabel(Landroid/content/pm/ApplicationInfo;Landroid/content/Context;)Ljava/lang/String; |
| |
568 | ····move-result-object·p2 | 674 | ····move-result-object·p2 |
| |
569 | ····.line·599 | 675 | ····.line·618 |
570 | ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->showLocationDialog(Landroid/content/Context;Ljava/lang/CharSequence;)V | 676 | ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->showLocationDialog(Landroid/content/Context;Ljava/lang/CharSequence;)V |
| |
571 | ····.line·603 | 677 | ····.line·622 |
572 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V | 678 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V |
| |
573 | ····return·v1 | 679 | ····return·v1 |
| |
574 | ····:cond_0 | 680 | ····:cond_0 |
575 | ····const/4·v0,·0x1 | 681 | ····const/4·v0,·0x1 |
| |
576 | ····if-eqz·p1,·:cond_4 | 682 | ····if-eqz·p1,·:cond_4 |
| |
577 | ····and-int/lit8·p1,·p2,·0x1 | 683 | ····and-int/lit8·p1,·p2,·0x1 |
| |
578 | ····if-eqz·p1,·:cond_2 | 684 | ····if-eqz·p1,·:cond_2 |
| |
579 | ····.line·609 | 685 | ····.line·628 |
580 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 686 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
581 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 687 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
582 | ····move-result·p1 | 688 | ····move-result·p1 |
| |
583 | ····if-nez·p1,·:cond_1 | 689 | ····if-nez·p1,·:cond_1 |
| |
584 | ····.line·610 | 690 | ····.line·629 |
585 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 691 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
586 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V | 692 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
587 | ····.line·613 | 693 | ····.line·632 |
588 | ····:cond_1 | 694 | ····:cond_1 |
589 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 695 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
590 | ····invoke-virtual·{p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->grantRuntimePermissions(ZZ)Z | 696 | ····invoke-virtual·{p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->grantRuntimePermissions(ZZ)Z |
| |
591 | ····:cond_2 | 697 | ····:cond_2 |
592 | ····and-int/lit8·p1,·p2,·0x2 | 698 | ····and-int/lit8·p1,·p2,·0x2 |
| |
593 | ····if-eqz·p1,·:cond_e | 699 | ····if-eqz·p1,·:cond_e |
| |
594 | ····.line·616 | 700 | ····.line·635 |
595 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 701 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
596 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 702 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
597 | ····move-result-object·p1 | 703 | ····move-result-object·p1 |
| |
598 | ····if-eqz·p1,·:cond_e | 704 | ····if-eqz·p1,·:cond_e |
| |
599 | ····.line·617 | 705 | ····.line·636 |
600 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 706 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
601 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 707 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
602 | ····move-result-object·p1 | 708 | ····move-result-object·p1 |
| |
603 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 709 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
604 | ····move-result·p1 | 710 | ····move-result·p1 |
| |
605 | ····if-nez·p1,·:cond_3 | 711 | ····if-nez·p1,·:cond_3 |
| |
606 | ····.line·618 | 712 | ····.line·637 |
607 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 713 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
608 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 714 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
609 | ····move-result-object·p1 | 715 | ····move-result-object·p1 |
| |
610 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V | 716 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
611 | ····.line·621 | 717 | ····.line·640 |
612 | ····:cond_3 | 718 | ····:cond_3 |
613 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 719 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
614 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 720 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
615 | ····move-result-object·p1 | 721 | ····move-result-object·p1 |
| |
Offset 717, 45 lines modified | Offset 875, 45 lines modified |
717 | ····goto/16·:goto_3 | 875 | ····goto/16·:goto_3 |
| |
718 | ····:cond_4 | 876 | ····:cond_4 |
719 | ····and-int/lit8·p1,·p2,·0x1 | 877 | ····and-int/lit8·p1,·p2,·0x1 |
| |
720 | ····if-eqz·p1,·:cond_6 | 878 | ····if-eqz·p1,·:cond_6 |
| |
721 | ····.line·627 | 879 | ····.line·646 |
722 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 880 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
723 | ····.line·628 | 881 | ····.line·647 |
724 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 882 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
725 | ····move-result·v2 | 883 | ····move-result·v2 |
| |
726 | ····if-eqz·v2,·:cond_6 | 884 | ····if-eqz·v2,·:cond_6 |
| |
727 | ····.line·629 | 885 | ····.line·648 |
728 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 886 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
729 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z | 887 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z |
| |
730 | ····move-result·v2 | 888 | ····move-result·v2 |
| |
731 | ····if-nez·v2,·:cond_5 | 889 | ····if-nez·v2,·:cond_5 |
| |
732 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 890 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
733 | ····.line·630 | 891 | ····.line·649 |
734 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->doesSupportRuntimePermissions()Z | 892 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->doesSupportRuntimePermissions()Z |
| |
735 | ····move-result·v2 | 893 | ····move-result·v2 |
| |
736 | ····if-eqz·v2,·:cond_5 | 894 | ····if-eqz·v2,·:cond_5 |
| |
737 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 895 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
738 | ····.line·631 | 896 | ····.line·650 |
739 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasInstallToRuntimeSplit()Z | 897 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasInstallToRuntimeSplit()Z |
| |
740 | ····move-result·v2 | 898 | ····move-result·v2 |
| |
741 | ····if-eqz·v2,·:cond_6 | 899 | ····if-eqz·v2,·:cond_6 |
| |
742 | ····:cond_5 | 900 | ····:cond_5 |
Offset 767, 58 lines modified | Offset 925, 58 lines modified |
767 | ····move·v2,·v1 | 925 | ····move·v2,·v1 |
| |
768 | ····:goto_0 | 926 | ····:goto_0 |
769 | ····and-int/lit8·v3,·p2,·0x2 | 927 | ····and-int/lit8·v3,·p2,·0x2 |
| |
770 | ····if-eqz·v3,·:cond_9 | 928 | ····if-eqz·v3,·:cond_9 |
| |
771 | ····.line·634 | 929 | ····.line·653 |
772 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 930 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
773 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 931 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
774 | ····move-result-object·v4 | 932 | ····move-result-object·v4 |
| |
775 | ····if-eqz·v4,·:cond_9 | 933 | ····if-eqz·v4,·:cond_9 |
| |
776 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 934 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
777 | ····.line·635 | 935 | ····.line·654 |
778 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 936 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
779 | ····move-result-object·v4 | 937 | ····move-result-object·v4 |
| |
780 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 938 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
781 | ····move-result·v4 | 939 | ····move-result·v4 |
| |
782 | ····if-eqz·v4,·:cond_9 | 940 | ····if-eqz·v4,·:cond_9 |
| |
783 | ····.line·636 | 941 | ····.line·655 |
784 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 942 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
785 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 943 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
786 | ····move-result-object·v4 | 944 | ····move-result-object·v4 |
| |
787 | ····.line·637 | 945 | ····.line·656 |
788 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z | 946 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasGrantedByDefaultPermission()Z |
| |
789 | ····move-result·v5 | 947 | ····move-result·v5 |
| |
790 | ····if-nez·v5,·:cond_8 | 948 | ····if-nez·v5,·:cond_8 |
| |
791 | ····.line·638 | 949 | ····.line·657 |
792 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->doesSupportRuntimePermissions()Z | 950 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->doesSupportRuntimePermissions()Z |
| |
793 | ····move-result·v5 | 951 | ····move-result·v5 |
| |
794 | ····if-eqz·v5,·:cond_8 | 952 | ····if-eqz·v5,·:cond_8 |
| |
795 | ····.line·639 | 953 | ····.line·658 |
796 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasInstallToRuntimeSplit()Z | 954 | ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->hasInstallToRuntimeSplit()Z |
| |
797 | ····move-result·v4 | 955 | ····move-result·v4 |
| |
798 | ····if-eqz·v4,·:cond_7 | 956 | ····if-eqz·v4,·:cond_7 |
| |
799 | ····goto·:goto_1 | 957 | ····goto·:goto_1 |
Offset 834, 255 lines modified | Offset 992, 300 lines modified |
| |
834 | ····:goto_2 | 992 | ····:goto_2 |
835 | ····or-int/2addr·v2,·v4 | 993 | ····or-int/2addr·v2,·v4 |
| |
836 | ····:cond_9 | 994 | ····:cond_9 |
837 | ····if-eqz·v2,·:cond_a | 995 | ····if-eqz·v2,·:cond_a |
| |
838 | ····.line·643 | 996 | ····.line·662 |
839 | ····iget-boolean·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mHasConfirmedRevoke:Z | 997 | ····iget-boolean·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mHasConfirmedRevoke:Z |
| |
840 | ····if-nez·v2,·:cond_a | 998 | ····if-nez·v2,·:cond_a |
| |
841 | ····.line·644 | 999 | ····.line·663 |
842 | ····invoke-direct·{p0,·p2},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->showDefaultDenyDialog(I)V | 1000 | ····invoke-direct·{p0,·p2},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->showDefaultDenyDialog(I)V |
| |
843 | ····.line·645 | 1001 | ····.line·664 |
844 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V | 1002 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V |
| |
845 | ····return·v1 | 1003 | ····return·v1 |
| |
846 | ····:cond_a | 1004 | ····:cond_a |
847 | ····if-eqz·p1,·:cond_c | 1005 | ····if-eqz·p1,·:cond_c |
| |
848 | ····.line·648 | 1006 | ····.line·667 |
849 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1007 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
850 | ····.line·649 | 1008 | ····.line·668 |
851 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 1009 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
852 | ····move-result·p1 | 1010 | ····move-result·p1 |
| |
853 | ····if-eqz·p1,·:cond_c | 1011 | ····if-eqz·p1,·:cond_c |
| |
854 | ····.line·650 | 1012 | ····.line·669 |
855 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1013 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
856 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 1014 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
857 | ····move-result·p1 | 1015 | ····move-result·p1 |
| |
858 | ····if-eqz·p1,·:cond_b | 1016 | ····if-eqz·p1,·:cond_b |
| |
859 | ····.line·651 | 1017 | ····.line·670 |
860 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1018 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
861 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V | 1019 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
862 | ····.line·654 | 1020 | ····.line·673 |
863 | ····:cond_b | 1021 | ····:cond_b |
864 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1022 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
865 | ····invoke-virtual·{p1,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z | 1023 | ····invoke-virtual·{p1,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z |
| |
866 | ····:cond_c | 1024 | ····:cond_c |
867 | ····if-eqz·v3,·:cond_e | 1025 | ····if-eqz·v3,·:cond_e |
| |
868 | ····.line·657 | 1026 | ····.line·676 |
869 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1027 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
870 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1028 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
871 | ····move-result-object·p1 | 1029 | ····move-result-object·p1 |
| |
872 | ····if-eqz·p1,·:cond_e | 1030 | ····if-eqz·p1,·:cond_e |
| |
873 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1031 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
874 | ····.line·658 | 1032 | ····.line·677 |
875 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1033 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
876 | ····move-result-object·p1 | 1034 | ····move-result-object·p1 |
| |
877 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 1035 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
878 | ····move-result·p1 | 1036 | ····move-result·p1 |
| |
879 | ····if-eqz·p1,·:cond_e | 1037 | ····if-eqz·p1,·:cond_e |
| |
880 | ····.line·659 | 1038 | ····.line·678 |
881 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1039 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
882 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1040 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
883 | ····move-result-object·p1 | 1041 | ····move-result-object·p1 |
| |
884 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z | 1042 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->areRuntimePermissionsGranted()Z |
| |
885 | ····move-result·p1 | 1043 | ····move-result·p1 |
| |
886 | ····if-eqz·p1,·:cond_d | 1044 | ····if-eqz·p1,·:cond_d |
| |
887 | ····.line·660 | 1045 | ····.line·679 |
888 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1046 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
889 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1047 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
890 | ····move-result-object·p1 | 1048 | ····move-result-object·p1 |
| |
891 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V | 1049 | ····invoke-static·{p1},·Lcom/android/permissioncontroller/permission/utils/SafetyNetLogger;->logPermissionToggled(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V |
| |
892 | ····.line·663 | 1050 | ····.line·682 |
893 | ····:cond_d | 1051 | ····:cond_d |
894 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1052 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
895 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1053 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getBackgroundPermissions()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
896 | ····move-result-object·p1 | 1054 | ····move-result-object·p1 |
| |
897 | ····invoke-virtual·{p1,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z | 1055 | ····invoke-virtual·{p1,·v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->revokeRuntimePermissions(Z)Z |
| |
898 | ····.line·669 | 1056 | ····.line·688 |
899 | ····:cond_e | 1057 | ····:cond_e |
900 | ····:goto_3 | 1058 | ····:goto_3 |
901 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V | 1059 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment;->updateUi()V |
| |
902 | ····return·v0 | 1060 | ····return·v0 |
Max diff block lines reached; 64907/105338 bytes (61.62%) of diff not shown.
|