| | | |
Offset 45, 101 lines modified | Offset 45, 101 lines modified |
| |
45 | ····return-void | 45 | ····return-void |
46 | .end·method | 46 | .end·method |
| |
47 | .method·private·addAutoRevokePreferences(Landroidx/preference/PreferenceScreen;)V | 47 | .method·private·addAutoRevokePreferences(Landroidx/preference/PreferenceScreen;)V |
48 | ····.locals·4 | 48 | ····.locals·4 |
| |
49 | ····.line·314 | 49 | ····.line·317 |
50 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 50 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
51 | ····move-result-object·v0 | 51 | ····move-result-object·v0 |
| |
52 | ····invoke-virtual·{v0},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 52 | ····invoke-virtual·{v0},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
53 | ····move-result-object·v0 | 53 | ····move-result-object·v0 |
| |
54 | ····.line·316 | 54 | ····.line·319 |
55 | ····new-instance·v1,·Landroidx/preference/PreferenceCategory; | 55 | ····new-instance·v1,·Landroidx/preference/PreferenceCategory; |
| |
56 | ····invoke-direct·{v1,·v0},·Landroidx/preference/PreferenceCategory;-><init>(Landroid/content/Context;)V | 56 | ····invoke-direct·{v1,·v0},·Landroidx/preference/PreferenceCategory;-><init>(Landroid/content/Context;)V |
| |
57 | ····const-string·v2,·"_AUTO_REVOKE_KEY" | 57 | ····const-string·v2,·"_AUTO_REVOKE_KEY" |
| |
58 | ····.line·317 | 58 | ····.line·320 |
59 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 59 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
60 | ····.line·318 | 60 | ····.line·321 |
61 | ····invoke-virtual·{p1,·v1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 61 | ····invoke-virtual·{p1,·v1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
62 | ····.line·320 | 62 | ····.line·323 |
63 | ····new-instance·p1,·Landroidx/preference/SwitchPreference; | 63 | ····new-instance·p1,·Landroidx/preference/SwitchPreference; |
| |
64 | ····invoke-direct·{p1,·v0},·Landroidx/preference/SwitchPreference;-><init>(Landroid/content/Context;)V | 64 | ····invoke-direct·{p1,·v0},·Landroidx/preference/SwitchPreference;-><init>(Landroid/content/Context;)V |
| |
65 | ····.line·321 | 65 | ····.line·324 |
66 | ····new-instance·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$hFyaUi7fwk3rc6rOhrr5hw4eqGU; | 66 | ····new-instance·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$hFyaUi7fwk3rc6rOhrr5hw4eqGU; |
| |
67 | ····invoke-direct·{v2,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$hFyaUi7fwk3rc6rOhrr5hw4eqGU;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;Landroidx/preference/SwitchPreference;)V | 67 | ····invoke-direct·{v2,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$hFyaUi7fwk3rc6rOhrr5hw4eqGU;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;Landroidx/preference/SwitchPreference;)V |
| |
68 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V | 68 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V |
| |
69 | ····const·v2,·0x7f120060 | 69 | ····const·v2,·0x7f120066 |
| |
70 | ····.line·325 | 70 | ····.line·328 |
71 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setTitle(I)V | 71 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setTitle(I)V |
| |
72 | ····const-string·v2,·"_AUTO_REVOKE_SWITCH_KEY" | 72 | ····const-string·v2,·"_AUTO_REVOKE_SWITCH_KEY" |
| |
73 | ····.line·326 | 73 | ····.line·329 |
74 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 74 | ····invoke-virtual·{p1,·v2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
75 | ····.line·327 | 75 | ····.line·330 |
76 | ····invoke-virtual·{v1,·p1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 76 | ····invoke-virtual·{v1,·p1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
77 | ····.line·329 | 77 | ····.line·332 |
78 | ····new-instance·p1,·Landroidx/preference/Preference; | 78 | ····new-instance·p1,·Landroidx/preference/Preference; |
| |
79 | ····invoke-direct·{p1,·v0},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V | 79 | ····invoke-direct·{p1,·v0},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V |
| |
80 | ····.line·330 | 80 | ····.line·333 |
81 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 81 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
82 | ····move-result-object·v0 | 82 | ····move-result-object·v0 |
| |
83 | ····const·v2,·0x7f0800a7 | 83 | ····const·v2,·0x7f0800a9 |
| |
84 | ····const·v3,·0x1010429 | 84 | ····const·v3,·0x1010429 |
| |
85 | ····invoke-static·{v0,·v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; | 85 | ····invoke-static·{v0,·v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; |
| |
86 | ····move-result-object·v0 | 86 | ····move-result-object·v0 |
| |
87 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V | 87 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V |
| |
88 | ····const-string·v0,·"_AUTO_REVOKE_SUMMARY_KEY" | 88 | ····const-string·v0,·"_AUTO_REVOKE_SUMMARY_KEY" |
| |
89 | ····.line·332 | 89 | ····.line·335 |
90 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 90 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
91 | ····.line·333 | 91 | ····.line·336 |
92 | ····invoke-virtual·{v1,·p1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 92 | ····invoke-virtual·{v1,·p1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
93 | ····return-void | 93 | ····return-void |
94 | .end·method | 94 | .end·method |
| |
95 | .method·private·static·bindUi(Lcom/android/permissioncontroller/permission/ui/handheld/SettingsWithLargeHeader;Ljava/lang/String;Landroid/os/UserHandle;)V | 95 | .method·private·static·bindUi(Lcom/android/permissioncontroller/permission/ui/handheld/SettingsWithLargeHeader;Ljava/lang/String;Landroid/os/UserHandle;)V |
96 | ····.locals·9 | 96 | ····.locals·9 |
| |
97 | ····.line·196 | 97 | ····.line·199 |
98 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 98 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
99 | ····move-result-object·v0 | 99 | ····move-result-object·v0 |
| |
100 | ····.line·198 | 100 | ····.line·201 |
101 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent; | 101 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent; |
| |
102 | ····move-result-object·v1 | 102 | ····move-result-object·v1 |
| |
103 | ····const-string·v2,·"hideInfoButton" | 103 | ····const-string·v2,·"hideInfoButton" |
| |
104 | ····const/4·v3,·0x0 | 104 | ····const/4·v3,·0x0 |
Offset 148, 47 lines modified | Offset 148, 47 lines modified |
| |
148 | ····move-result·v1 | 148 | ····move-result·v1 |
| |
149 | ····const/4·v2,·0x0 | 149 | ····const/4·v2,·0x0 |
| |
150 | ····if-nez·v1,·:cond_0 | 150 | ····if-nez·v1,·:cond_0 |
| |
151 | ····.line·199 | 151 | ····.line·202 |
152 | ····new-instance·v1,·Landroid/content/Intent; | 152 | ····new-instance·v1,·Landroid/content/Intent; |
| |
153 | ····const-string·v3,·"android.settings.APPLICATION_DETAILS_SETTINGS" | 153 | ····const-string·v3,·"android.settings.APPLICATION_DETAILS_SETTINGS" |
| |
154 | ····invoke-direct·{v1,·v3},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V | 154 | ····invoke-direct·{v1,·v3},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V |
| |
155 | ····const-string·v3,·"package" | 155 | ····const-string·v3,·"package" |
| |
156 | ····.line·200 | 156 | ····.line·203 |
157 | ····invoke-static·{v3,·p1,·v2},·Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri; | 157 | ····invoke-static·{v3,·p1,·v2},·Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri; |
| |
158 | ····move-result-object·v2 | 158 | ····move-result-object·v2 |
| |
159 | ····invoke-virtual·{v1,·v2},·Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent; | 159 | ····invoke-virtual·{v1,·v2},·Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent; |
| |
160 | ····move-result-object·v2 | 160 | ····move-result-object·v2 |
| |
161 | ····:cond_0 | 161 | ····:cond_0 |
162 | ····move-object·v6,·v2 | 162 | ····move-object·v6,·v2 |
| |
163 | ····.line·203 | 163 | ····.line·206 |
164 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; | 164 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; |
| |
165 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; | 165 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; |
| |
166 | ····move-result-object·v2 | 166 | ····move-result-object·v2 |
| |
167 | ····invoke-virtual·{v1,·v2,·p1,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->getBadgedPackageIcon(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Landroid/graphics/drawable/Drawable; | 167 | ····invoke-virtual·{v1,·v2,·p1,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->getBadgedPackageIcon(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Landroid/graphics/drawable/Drawable; |
| |
168 | ····move-result-object·v4 | 168 | ····move-result-object·v4 |
| |
169 | ····.line·205 | 169 | ····.line·208 |
170 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; | 170 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; |
| |
171 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; | 171 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; |
| |
172 | ····move-result-object·v0 | 172 | ····move-result-object·v0 |
| |
173 | ····invoke-virtual·{v1,·v0,·p1,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->getPackageLabel(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Ljava/lang/String; | 173 | ····invoke-virtual·{v1,·v0,·p1,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->getPackageLabel(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Ljava/lang/String; |
Offset 205, 41 lines modified | Offset 205, 41 lines modified |
| |
205 | ····return-void | 205 | ····return-void |
206 | .end·method | 206 | .end·method |
| |
207 | .method·private·comparePreferences(Landroidx/preference/Preference;Landroidx/preference/Preference;)I | 207 | .method·private·comparePreferences(Landroidx/preference/Preference;Landroidx/preference/Preference;)I |
208 | ····.locals·2 | 208 | ····.locals·2 |
| |
209 | ····.line·377 | 209 | ····.line·382 |
210 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; | 210 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; |
| |
211 | ····move-result-object·v0 | 211 | ····move-result-object·v0 |
| |
212 | ····const·v1,·0x7f120020 | 212 | ····const·v1,·0x7f120020 |
| |
213 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 213 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
214 | ····move-result-object·v0 | 214 | ····move-result-object·v0 |
| |
215 | ····.line·378 | 215 | ····.line·383 |
216 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 216 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
217 | ····move-result-object·v1 | 217 | ····move-result-object·v1 |
| |
218 | ····invoke-virtual·{v1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 218 | ····invoke-virtual·{v1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
219 | ····move-result·v1 | 219 | ····move-result·v1 |
| |
220 | ····if-eqz·v1,·:cond_0 | 220 | ····if-eqz·v1,·:cond_0 |
| |
221 | ····const/4·p1,·0x1 | 221 | ····const/4·p1,·0x1 |
| |
222 | ····return·p1 | 222 | ····return·p1 |
| |
223 | ····.line·380 | 223 | ····.line·385 |
224 | ····:cond_0 | 224 | ····:cond_0 |
225 | ····invoke-virtual·{p2},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 225 | ····invoke-virtual·{p2},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
226 | ····move-result-object·v1 | 226 | ····move-result-object·v1 |
| |
227 | ····invoke-virtual·{v1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 227 | ····invoke-virtual·{v1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
Offset 247, 97 lines modified | Offset 247, 97 lines modified |
| |
247 | ····if-eqz·v0,·:cond_1 | 247 | ····if-eqz·v0,·:cond_1 |
| |
248 | ····const/4·p1,·-0x1 | 248 | ····const/4·p1,·-0x1 |
| |
249 | ····return·p1 | 249 | ····return·p1 |
| |
250 | ····.line·383 | 250 | ····.line·388 |
251 | ····:cond_1 | 251 | ····:cond_1 |
252 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mCollator:Ljava/text/Collator; | 252 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mCollator:Ljava/text/Collator; |
| |
253 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 253 | ····invoke-virtual·{p1},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
254 | ····move-result-object·p1 | 254 | ····move-result-object·p1 |
| |
255 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 255 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
256 | ····move-result-object·p1 | 256 | ····move-result-object·p1 |
| |
257 | ····.line·384 | 257 | ····.line·389 |
258 | ····invoke-virtual·{p2},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 258 | ····invoke-virtual·{p2},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
259 | ····move-result-object·p2 | 259 | ····move-result-object·p2 |
| |
260 | ····invoke-interface·{p2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 260 | ····invoke-interface·{p2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
261 | ····move-result-object·p2 | 261 | ····move-result-object·p2 |
| |
262 | ····.line·383 | 262 | ····.line·388 |
263 | ····invoke-virtual·{v0,·p1,·p2},·Ljava/text/Collator;->compare(Ljava/lang/String;Ljava/lang/String;)I | 263 | ····invoke-virtual·{v0,·p1,·p2},·Ljava/text/Collator;->compare(Ljava/lang/String;Ljava/lang/String;)I |
| |
264 | ····move-result·p1 | 264 | ····move-result·p1 |
| |
265 | ····return·p1 | 265 | ····return·p1 |
266 | .end·method | 266 | .end·method |
| |
267 | .method·public·static·createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle; | 267 | .method·public·static·createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle; |
268 | ····.locals·2 | 268 | ····.locals·2 |
| |
269 | ····.line·108 | 269 | ····.line·111 |
270 | ····new-instance·v0,·Landroid/os/Bundle; | 270 | ····new-instance·v0,·Landroid/os/Bundle; |
| |
271 | ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V | 271 | ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V |
| |
272 | ····const-string·v1,·"android.intent.extra.PACKAGE_NAME" | 272 | ····const-string·v1,·"android.intent.extra.PACKAGE_NAME" |
| |
273 | ····.line·109 | 273 | ····.line·112 |
274 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 274 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
275 | ····const-string·p0,·"android.intent.extra.USER" | 275 | ····const-string·p0,·"android.intent.extra.USER" |
| |
276 | ····.line·110 | 276 | ····.line·113 |
277 | ····invoke-virtual·{v0,·p0,·p1},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V | 277 | ····invoke-virtual·{v0,·p0,·p1},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V |
| |
278 | ····const-string·p0,·"com.android.permissioncontroller.extra.SESSION_ID" | 278 | ····const-string·p0,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
279 | ····.line·111 | 279 | ····.line·114 |
280 | ····invoke-virtual·{v0,·p0,·p2,·p3},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V | 280 | ····invoke-virtual·{v0,·p0,·p2,·p3},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V |
| |
281 | ····const-string·p0,·"_is_system_screen" | 281 | ····const-string·p0,·"_is_system_screen" |
| |
282 | ····.line·112 | 282 | ····.line·115 |
283 | ····invoke-virtual·{v0,·p0,·p4},·Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V | 283 | ····invoke-virtual·{v0,·p0,·p4},·Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V |
| |
284 | ····return-object·v0 | 284 | ····return-object·v0 |
285 | .end·method | 285 | .end·method |
| |
286 | .method·private·createPreferenceScreenIfNeeded()V | 286 | .method·private·createPreferenceScreenIfNeeded()V |
287 | ····.locals·2 | 287 | ····.locals·2 |
| |
288 | ····.line·211 | 288 | ····.line·214 |
289 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; | 289 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; |
| |
290 | ····move-result-object·v0 | 290 | ····move-result-object·v0 |
| |
291 | ····if-nez·v0,·:cond_0 | 291 | ····if-nez·v0,·:cond_0 |
| |
292 | ····const·v0,·0x7f160002 | 292 | ····const·v0,·0x7f160002 |
| |
293 | ····.line·212 | 293 | ····.line·215 |
294 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/PreferenceFragmentCompat;->addPreferencesFromResource(I)V | 294 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/PreferenceFragmentCompat;->addPreferencesFromResource(I)V |
| |
295 | ····.line·213 | 295 | ····.line·216 |
296 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; | 296 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; |
| |
297 | ····move-result-object·v0 | 297 | ····move-result-object·v0 |
| |
298 | ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->addAutoRevokePreferences(Landroidx/preference/PreferenceScreen;)V | 298 | ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->addAutoRevokePreferences(Landroidx/preference/PreferenceScreen;)V |
| |
299 | ····.line·214 | 299 | ····.line·217 |
300 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; | 300 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; |
| |
301 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mUser:Landroid/os/UserHandle; | 301 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mUser:Landroid/os/UserHandle; |
| |
302 | ····invoke-static·{p0,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->bindUi(Lcom/android/permissioncontroller/permission/ui/handheld/SettingsWithLargeHeader;Ljava/lang/String;Landroid/os/UserHandle;)V | 302 | ····invoke-static·{p0,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->bindUi(Lcom/android/permissioncontroller/permission/ui/handheld/SettingsWithLargeHeader;Ljava/lang/String;Landroid/os/UserHandle;)V |
| |
303 | ····:cond_0 | 303 | ····:cond_0 |
Offset 353, 15 lines modified | Offset 353, 15 lines modified |
| |
353 | ····return·p0 | 353 | ····return·p0 |
354 | .end·method | 354 | .end·method |
| |
355 | .method·private·synthetic·lambda$addAutoRevokePreferences$0(Landroidx/preference/SwitchPreference;Landroidx/preference/Preference;)Z | 355 | .method·private·synthetic·lambda$addAutoRevokePreferences$0(Landroidx/preference/SwitchPreference;Landroidx/preference/Preference;)Z |
356 | ····.locals·0 | 356 | ····.locals·0 |
| |
357 | ····.line·322 | 357 | ····.line·325 |
358 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; | 358 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; |
| |
359 | ····invoke-virtual·{p1},·Landroidx/preference/TwoStatePreference;->isChecked()Z | 359 | ····invoke-virtual·{p1},·Landroidx/preference/TwoStatePreference;->isChecked()Z |
| |
360 | ····move-result·p1 | 360 | ····move-result·p1 |
| |
361 | ····invoke-virtual·{p2,·p1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->setAutoRevoke(Z)V | 361 | ····invoke-virtual·{p2,·p1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->setAutoRevoke(Z)V |
Offset 370, 35 lines modified | Offset 370, 35 lines modified |
| |
370 | ····return·p1 | 370 | ····return·p1 |
371 | .end·method | 371 | .end·method |
| |
372 | .method·private·synthetic·lambda$setUpCustomPermissionsScreen$1(Landroidx/preference/Preference;)Z | 372 | .method·private·synthetic·lambda$setUpCustomPermissionsScreen$1(Landroidx/preference/Preference;)Z |
373 | ····.locals·5 | 373 | ····.locals·5 |
| |
374 | ····.line·394 | 374 | ····.line·399 |
375 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; | 375 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; |
| |
376 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; | 376 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; |
| |
377 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mUser:Landroid/os/UserHandle; | 377 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mUser:Landroid/os/UserHandle; |
| |
378 | ····.line·395 | 378 | ····.line·400 |
379 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 379 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
380 | ····move-result-object·v2 | 380 | ····move-result-object·v2 |
| |
381 | ····const-string·v3,·"com.android.permissioncontroller.extra.SESSION_ID" | 381 | ····const-string·v3,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
382 | ····invoke-virtual·{v2,·v3},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J | 382 | ····invoke-virtual·{v2,·v3},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J |
| |
383 | ····move-result-wide·v2 | 383 | ····move-result-wide·v2 |
| |
384 | ····const/4·v4,·0x0 | 384 | ····const/4·v4,·0x0 |
| |
385 | ····.line·394 | 385 | ····.line·399 |
386 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle; | 386 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle; |
| |
387 | ····move-result-object·v0 | 387 | ····move-result-object·v0 |
| |
388 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->showExtraPerms(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V | 388 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->showExtraPerms(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V |
| |
389 | ····const/4·p1,·0x1 | 389 | ····const/4·p1,·0x1 |
Offset 423, 95 lines modified | Offset 423, 95 lines modified |
423 | .end·method | 423 | .end·method |
| |
424 | .method·private·logAppPermissionGroupsFragmentView()V | 424 | .method·private·logAppPermissionGroupsFragmentView()V |
425 | ····.locals·18 | 425 | ····.locals·18 |
| |
426 | ····move-object/from16·v7,·p0 | 426 | ····move-object/from16·v7,·p0 |
| |
427 | ····.line·413 | 427 | ····.line·418 |
428 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 428 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
429 | ····move-result-object·v0 | 429 | ····move-result-object·v0 |
| |
430 | ····invoke-virtual·{v0},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 430 | ····invoke-virtual·{v0},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
431 | ····move-result-object·v0 | 431 | ····move-result-object·v0 |
| |
432 | ····if-nez·v0,·:cond_0 | 432 | ····if-nez·v0,·:cond_0 |
| |
433 | ····return-void | 433 | ····return-void |
| |
434 | ····:cond_0 | 434 | ····:cond_0 |
435 | ····const·v1,·0x7f12014d | 435 | ····const·v1,·0x7f12015c |
| |
436 | ····.line·418 | 436 | ····.line·423 |
437 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 437 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
438 | ····move-result-object·v8 | 438 | ····move-result-object·v8 |
| |
439 | ····.line·421 | 439 | ····.line·426 |
440 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 440 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
441 | ····move-result-object·v0 | 441 | ····move-result-object·v0 |
| |
442 | ····const-wide/16·v1,·0x0 | 442 | ····const-wide/16·v1,·0x0 |
| |
443 | ····const-string·v3,·"com.android.permissioncontroller.extra.SESSION_ID" | 443 | ····const-string·v3,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
444 | ····invoke-virtual·{v0,·v3,·v1,·v2},·Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J | 444 | ····invoke-virtual·{v0,·v3,·v1,·v2},·Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J |
| |
445 | ····move-result-wide·v9 | 445 | ····move-result-wide·v9 |
| |
446 | ····.line·422 | 446 | ····.line·427 |
447 | ····new-instance·v0,·Ljava/util/Random; | 447 | ····new-instance·v0,·Ljava/util/Random; |
| |
448 | ····invoke-direct·{v0},·Ljava/util/Random;-><init>()V | 448 | ····invoke-direct·{v0},·Ljava/util/Random;-><init>()V |
| |
449 | ····invoke-virtual·{v0},·Ljava/util/Random;->nextLong()J | 449 | ····invoke-virtual·{v0},·Ljava/util/Random;->nextLong()J |
| |
450 | ····move-result-wide·v11 | 450 | ····move-result-wide·v11 |
| |
451 | ····.line·424 | 451 | ····.line·429 |
452 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED:Lcom/android/permissioncontroller/permission/ui/Category; | 452 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED:Lcom/android/permissioncontroller/permission/ui/Category; |
| |
453 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; | 453 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; |
| |
454 | ····move-result-object·v0 | 454 | ····move-result-object·v0 |
| |
455 | ····invoke-virtual·{v7,·v0},·Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 455 | ····invoke-virtual·{v7,·v0},·Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
456 | ····move-result-object·v0 | 456 | ····move-result-object·v0 |
| |
457 | ····move-object·v13,·v0 | 457 | ····move-object·v13,·v0 |
| |
458 | ····check-cast·v13,·Landroidx/preference/PreferenceCategory; | 458 | ····check-cast·v13,·Landroidx/preference/PreferenceCategory; |
| |
459 | ····.line·426 | 459 | ····.line·431 |
460 | ····invoke-virtual·{v13},·Landroidx/preference/PreferenceGroup;->getPreferenceCount()I | 460 | ····invoke-virtual·{v13},·Landroidx/preference/PreferenceGroup;->getPreferenceCount()I |
| |
461 | ····move-result·v14 | 461 | ····move-result·v14 |
| |
462 | ····const/4·v15,·0x0 | 462 | ····const/4·v15,·0x0 |
| |
463 | ····move·v6,·v15 | 463 | ····move·v6,·v15 |
| |
464 | ····:goto_0 | 464 | ····:goto_0 |
465 | ····if-ge·v6,·v14,·:cond_3 | 465 | ····if-ge·v6,·v14,·:cond_3 |
| |
466 | ····.line·428 | 466 | ····.line·433 |
467 | ····invoke-virtual·{v13,·v6},·Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference; | 467 | ····invoke-virtual·{v13,·v6},·Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference; |
| |
468 | ····move-result-object·v0 | 468 | ····move-result-object·v0 |
| |
469 | ····.line·430 | 469 | ····.line·435 |
470 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 470 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
471 | ····move-result-object·v1 | 471 | ····move-result-object·v1 |
| |
472 | ····const·v2,·0x7f120110 | 472 | ····const·v2,·0x7f120119 |
| |
473 | ····invoke-virtual·{v7,·v2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; | 473 | ····invoke-virtual·{v7,·v2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; |
| |
474 | ····move-result-object·v2 | 474 | ····move-result-object·v2 |
| |
475 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 475 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
Offset 519, 23 lines modified | Offset 519, 23 lines modified |
| |
519 | ····if-eqz·v1,·:cond_1 | 519 | ····if-eqz·v1,·:cond_1 |
| |
520 | ····move/from16·v17,·v6 | 520 | ····move/from16·v17,·v6 |
| |
521 | ····goto·:goto_2 | 521 | ····goto·:goto_2 |
| |
522 | ····.line·436 | 522 | ····.line·441 |
523 | ····:cond_1 | 523 | ····:cond_1 |
524 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getSummary()Ljava/lang/CharSequence; | 524 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getSummary()Ljava/lang/CharSequence; |
| |
525 | ····move-result-object·v1 | 525 | ····move-result-object·v1 |
| |
526 | ····if-eqz·v1,·:cond_2 | 526 | ····if-eqz·v1,·:cond_2 |
| |
527 | ····.line·437 | 527 | ····.line·442 |
528 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getSummary()Ljava/lang/CharSequence; | 528 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getSummary()Ljava/lang/CharSequence; |
| |
529 | ····move-result-object·v1 | 529 | ····move-result-object·v1 |
| |
530 | ····invoke-virtual·{v8,·v1},·Ljava/lang/String;->contentEquals(Ljava/lang/CharSequence;)Z | 530 | ····invoke-virtual·{v8,·v1},·Ljava/lang/String;->contentEquals(Ljava/lang/CharSequence;)Z |
| |
531 | ····move-result·v1 | 531 | ····move-result·v1 |
Offset 548, 15 lines modified | Offset 548, 15 lines modified |
| |
548 | ····:cond_2 | 548 | ····:cond_2 |
549 | ····const/4·v1,·0x1 | 549 | ····const/4·v1,·0x1 |
| |
550 | ····:goto_1 | 550 | ····:goto_1 |
551 | ····move/from16·v16,·v1 | 551 | ····move/from16·v16,·v1 |
| |
552 | ····.line·441 | 552 | ····.line·446 |
553 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; | 553 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; |
| |
554 | ····move-result-object·v5 | 554 | ····move-result-object·v5 |
| |
555 | ····move-object/from16·v0,·p0 | 555 | ····move-object/from16·v0,·p0 |
| |
556 | ····move-wide·v1,·v9 | 556 | ····move-wide·v1,·v9 |
Offset 570, 15 lines modified | Offset 570, 15 lines modified |
570 | ····invoke-direct/range·{v0·..·v6},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->logAppPermissionsFragmentViewEntry(JJLjava/lang/String;I)V | 570 | ····invoke-direct/range·{v0·..·v6},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->logAppPermissionsFragmentViewEntry(JJLjava/lang/String;I)V |
| |
571 | ····:goto_2 | 571 | ····:goto_2 |
572 | ····add-int/lit8·v6,·v17,·0x1 | 572 | ····add-int/lit8·v6,·v17,·0x1 |
| |
573 | ····goto·:goto_0 | 573 | ····goto·:goto_0 |
| |
574 | ····.line·445 | 574 | ····.line·450 |
575 | ····:cond_3 | 575 | ····:cond_3 |
576 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/Category;->DENIED:Lcom/android/permissioncontroller/permission/ui/Category; | 576 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/Category;->DENIED:Lcom/android/permissioncontroller/permission/ui/Category; |
| |
577 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; | 577 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; |
| |
578 | ····move-result-object·v0 | 578 | ····move-result-object·v0 |
| |
Offset 586, 47 lines modified | Offset 586, 47 lines modified |
| |
586 | ····move-result-object·v0 | 586 | ····move-result-object·v0 |
| |
587 | ····move-object·v8,·v0 | 587 | ····move-object·v8,·v0 |
| |
588 | ····check-cast·v8,·Landroidx/preference/PreferenceCategory; | 588 | ····check-cast·v8,·Landroidx/preference/PreferenceCategory; |
| |
589 | ····.line·447 | 589 | ····.line·452 |
590 | ····invoke-virtual·{v8},·Landroidx/preference/PreferenceGroup;->getPreferenceCount()I | 590 | ····invoke-virtual·{v8},·Landroidx/preference/PreferenceGroup;->getPreferenceCount()I |
| |
591 | ····move-result·v13 | 591 | ····move-result·v13 |
| |
592 | ····:goto_3 | 592 | ····:goto_3 |
593 | ····if-ge·v15,·v13,·:cond_5 | 593 | ····if-ge·v15,·v13,·:cond_5 |
| |
594 | ····.line·449 | 594 | ····.line·454 |
595 | ····invoke-virtual·{v8,·v15},·Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference; | 595 | ····invoke-virtual·{v8,·v15},·Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference; |
| |
596 | ····move-result-object·v0 | 596 | ····move-result-object·v0 |
| |
597 | ····.line·450 | 597 | ····.line·455 |
598 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 598 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
599 | ····move-result-object·v1 | 599 | ····move-result-object·v1 |
| |
600 | ····const·v2,·0x7f120111 | 600 | ····const·v2,·0x7f12011a |
| |
601 | ····invoke-virtual·{v7,·v2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; | 601 | ····invoke-virtual·{v7,·v2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; |
| |
602 | ····move-result-object·v2 | 602 | ····move-result-object·v2 |
| |
603 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 603 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
604 | ····move-result·v1 | 604 | ····move-result·v1 |
| |
605 | ····if-eqz·v1,·:cond_4 | 605 | ····if-eqz·v1,·:cond_4 |
| |
606 | ····goto·:goto_4 | 606 | ····goto·:goto_4 |
| |
607 | ····.line·454 | 607 | ····.line·459 |
608 | ····:cond_4 | 608 | ····:cond_4 |
609 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; | 609 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; |
| |
610 | ····move-result-object·v5 | 610 | ····move-result-object·v5 |
| |
611 | ····const/4·v6,·0x3 | 611 | ····const/4·v6,·0x3 |
| |
Offset 648, 15 lines modified | Offset 648, 15 lines modified |
648 | .end·method | 648 | .end·method |
| |
649 | .method·private·logAppPermissionsFragmentViewEntry(JJLjava/lang/String;I)V | 649 | .method·private·logAppPermissionsFragmentViewEntry(JJLjava/lang/String;I)V |
650 | ····.locals·11 | 650 | ····.locals·11 |
| |
651 | ····move-object·v0,·p0 | 651 | ····move-object·v0,·p0 |
| |
652 | ····.line·462 | 652 | ····.line·467 |
653 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; | 653 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils; |
| |
654 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 654 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
655 | ····move-result-object·v2 | 655 | ····move-result-object·v2 |
| |
656 | ····invoke-virtual·{v2},·Landroid/app/Activity;->getApplication()Landroid/app/Application; | 656 | ····invoke-virtual·{v2},·Landroid/app/Activity;->getApplication()Landroid/app/Application; |
Offset 674, 33 lines modified | Offset 674, 33 lines modified |
674 | ····if-nez·v1,·:cond_0 | 674 | ····if-nez·v1,·:cond_0 |
| |
675 | ····return-void | 675 | ····return-void |
| |
676 | ····:cond_0 | 676 | ····:cond_0 |
677 | ····const/16·v2,·0xd9 | 677 | ····const/16·v2,·0xd9 |
| |
678 | ····.line·468 | 678 | ····.line·473 |
679 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I | 679 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I |
| |
680 | ····move-result·v8 | 680 | ····move-result·v8 |
| |
681 | ····iget-object·v9,·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; | 681 | ····iget-object·v9,·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mPackageName:Ljava/lang/String; |
| |
682 | ····move-wide·v3,·p1 | 682 | ····move-wide·v3,·p1 |
| |
683 | ····move-wide·v5,·p3 | 683 | ····move-wide·v5,·p3 |
| |
684 | ····move-object/from16·v7,·p5 | 684 | ····move-object/from16·v7,·p5 |
| |
685 | ····move/from16·v10,·p6 | 685 | ····move/from16·v10,·p6 |
| |
686 | ····.line·467 | 686 | ····.line·472 |
687 | ····invoke-static/range·{v2·..·v10},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJJLjava/lang/String;ILjava/lang/String;I)V | 687 | ····invoke-static/range·{v2·..·v10},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJJLjava/lang/String;ILjava/lang/String;I)V |
| |
688 | ····.line·469 | 688 | ····.line·474 |
689 | ····sget-object·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->LOG_TAG:Ljava/lang/String; | 689 | ····sget-object·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->LOG_TAG:Ljava/lang/String; |
| |
690 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 690 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
| |
691 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 691 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
| |
692 | ····const-string·v4,·"AppPermissionFragment·view·logged·with·sessionId=" | 692 | ····const-string·v4,·"AppPermissionFragment·view·logged·with·sessionId=" |
Offset 759, 294 lines modified | Offset 759, 300 lines modified |
759 | .end·method | 759 | .end·method |
| |
760 | .method·private·setAutoRevokeToggleState(Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;)V | 760 | .method·private·setAutoRevokeToggleState(Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;)V |
761 | ····.locals·7 | 761 | ····.locals·7 |
| |
762 | ····if-eqz·p1,·:cond_6 | 762 | ····if-eqz·p1,·:cond_6 |
| |
763 | ····.line·337 | 763 | ····.line·340 |
764 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; | 764 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; |
| |
765 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; | 765 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; |
| |
766 | ····move-result-object·v0 | 766 | ····move-result-object·v0 |
| |
767 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->isInitialized()Z | 767 | ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->isInitialized()Z |
| |
768 | ····move-result·v0 | 768 | ····move-result·v0 |
| |
769 | ····if-eqz·v0,·:cond_6 | 769 | ····if-eqz·v0,·:cond_6 |
| |
770 | ····.line·338 | 770 | ····.line·341 |
771 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getListView()Landroidx/recyclerview/widget/RecyclerView; | 771 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getListView()Landroidx/recyclerview/widget/RecyclerView; |
| |
772 | ····move-result-object·v0 | 772 | ····move-result-object·v0 |
| |
773 | ····if-eqz·v0,·:cond_6 | 773 | ····if-eqz·v0,·:cond_6 |
| |
774 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getView()Landroid/view/View; | 774 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getView()Landroid/view/View; |
| |
775 | ····move-result-object·v0 | 775 | ····move-result-object·v0 |
| |
776 | ····if-nez·v0,·:cond_0 | 776 | ····if-nez·v0,·:cond_0 |
| |
777 | ····goto/16·:goto_3 | 777 | ····goto/16·:goto_3 |
| |
778 | ····.line·342 | 778 | ····.line·345 |
779 | ····:cond_0 | 779 | ····:cond_0 |
780 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; | 780 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; |
| |
781 | ····move-result-object·v0 | 781 | ····move-result-object·v0 |
| |
782 | ····const-string·v1,·"_AUTO_REVOKE_KEY" | 782 | ····const-string·v1,·"_AUTO_REVOKE_KEY" |
| |
783 | ····.line·343 | 783 | ····.line·346 |
784 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 784 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
785 | ····move-result-object·v0 | 785 | ····move-result-object·v0 |
| |
786 | ····check-cast·v0,·Landroidx/preference/PreferenceCategory; | 786 | ····check-cast·v0,·Landroidx/preference/PreferenceCategory; |
| |
787 | ····const-string·v1,·"_AUTO_REVOKE_SWITCH_KEY" | 787 | ····const-string·v1,·"_AUTO_REVOKE_SWITCH_KEY" |
| |
788 | ····.line·344 | 788 | ····.line·347 |
789 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 789 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
790 | ····move-result-object·v1 | 790 | ····move-result-object·v1 |
| |
791 | ····check-cast·v1,·Landroidx/preference/SwitchPreference; | 791 | ····check-cast·v1,·Landroidx/preference/SwitchPreference; |
| |
792 | ····const-string·v2,·"_AUTO_REVOKE_SUMMARY_KEY" | 792 | ····const-string·v2,·"_AUTO_REVOKE_SUMMARY_KEY" |
| |
793 | ····.line·346 | 793 | ····.line·349 |
794 | ····invoke-virtual·{v0,·v2},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 794 | ····invoke-virtual·{v0,·v2},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
795 | ····move-result-object·v0 | 795 | ····move-result-object·v2 |
| |
796 | ····.line·348 | 796 | ····.line·351 |
797 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->isEnabledGlobal()Z | 797 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->isEnabledGlobal()Z |
| |
798 | ····move-result·v2 | 798 | ····move-result·v3 |
| |
799 | ····const/4·v3,·0x0 | 799 | ····const/4·v4,·0x0 |
| |
800 | ····if-eqz·v2,·:cond_5 | 800 | ····if-eqz·v3,·:cond_5 |
| |
801 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->getShouldShowSwitch()Z | 801 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->getShouldShowSwitch()Z |
| |
802 | ····move-result·v2 | 802 | ····move-result·v3 |
| |
803 | ····if-nez·v2,·:cond_1 | 803 | ····if-nez·v3,·:cond_1 |
| |
804 | ····goto·:goto_2 | 804 | ····goto·:goto_2 |
| |
805 | ····:cond_1 | 805 | ····:cond_1 |
806 | ····const/4·v2,·0x1 | 806 | ····const/4·v3,·0x1 |
| |
807 | ····.line·353 | 807 | ····.line·357 |
808 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setVisible(Z)V | 808 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
809 | ····.line·354 | 809 | ····.line·358 |
810 | ····invoke-virtual·{v0,·v2},·Landroidx/preference/Preference;->setVisible(Z)V | 810 | ····invoke-virtual·{v1,·v3},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
| 811 | ····.line·359 |
| 812 | ····invoke-virtual·{v2,·v3},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
811 | ····.line·355 | 813 | ····.line·360 |
812 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->isEnabledForApp()Z | 814 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->isEnabledForApp()Z |
| |
813 | ····move-result·v4 | 815 | ····move-result·v0 |
| |
814 | ····invoke-virtual·{v1,·v4},·Landroidx/preference/TwoStatePreference;->setChecked(Z)V | 816 | ····invoke-virtual·{v1,·v0},·Landroidx/preference/TwoStatePreference;->setChecked(Z)V |
| |
815 | ····.line·357 | 817 | ····.line·362 |
816 | ····new-instance·v1,·Ljava/util/ArrayList; | 818 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
817 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 819 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
818 | ····.line·358 | 820 | ····.line·363 |
819 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->getRevocableGroupNames()Ljava/util/List; | 821 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/livedatatypes/AutoRevokeState;->getRevocableGroupNames()Ljava/util/List; |
| |
820 | ····move-result-object·p1 | 822 | ····move-result-object·p1 |
| |
821 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 823 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
822 | ····move-result-object·p1 | 824 | ····move-result-object·p1 |
| |
823 | ····:cond_2 | 825 | ····:cond_2 |
824 | ····:goto_0 | 826 | ····:goto_0 |
825 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z | 827 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z |
| |
826 | ····move-result·v4 | 828 | ····move-result·v1 |
| |
827 | ····if-eqz·v4,·:cond_3 | 829 | ····if-eqz·v1,·:cond_3 |
| |
828 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 830 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
829 | ····move-result-object·v4 | 831 | ····move-result-object·v1 |
| |
830 | ····check-cast·v4,·Ljava/lang/String; | 832 | ····check-cast·v1,·Ljava/lang/String; |
| |
831 | ····.line·359 | 833 | ····.line·364 |
832 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; | 834 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen; |
| |
833 | ····move-result-object·v5 | 835 | ····move-result-object·v5 |
| |
834 | ····sget-object·v6,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED:Lcom/android/permissioncontroller/permission/ui/Category; | 836 | ····sget-object·v6,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED:Lcom/android/permissioncontroller/permission/ui/Category; |
| |
835 | ····.line·360 | 837 | ····.line·365 |
836 | ····invoke-virtual·{v6},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; | 838 | ····invoke-virtual·{v6},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; |
| |
837 | ····move-result-object·v6 | 839 | ····move-result-object·v6 |
| |
838 | ····.line·359 | 840 | ····.line·364 |
839 | ····invoke-virtual·{v5,·v6},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 841 | ····invoke-virtual·{v5,·v6},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
840 | ····move-result-object·v5 | 842 | ····move-result-object·v5 |
| |
841 | ····check-cast·v5,·Landroidx/preference/PreferenceCategory; | 843 | ····check-cast·v5,·Landroidx/preference/PreferenceCategory; |
| |
842 | ····.line·361 | 844 | ····.line·366 |
843 | ····invoke-virtual·{v5,·v4},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 845 | ····invoke-virtual·{v5,·v1},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
844 | ····move-result-object·v4 | 846 | ····move-result-object·v1 |
| |
845 | ····if-eqz·v4,·:cond_2 | 847 | ····if-eqz·v1,·:cond_2 |
| |
846 | ····.line·363 | 848 | ····.line·368 |
847 | ····invoke-virtual·{v4},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 849 | ····invoke-virtual·{v1},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
848 | ····move-result-object·v4 | 850 | ····move-result-object·v1 |
| |
849 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 851 | ····invoke-interface·{v1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
850 | ····move-result-object·v4 | 852 | ····move-result-object·v1 |
| |
851 | ····invoke-interface·{v1,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 853 | ····invoke-interface·{v0,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
852 | ····goto·:goto_0 | 854 | ····goto·:goto_0 |
| |
853 | ····.line·367 | 855 | ····.line·372 |
854 | ····:cond_3 | 856 | ····:cond_3 |
855 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mCollator:Ljava/text/Collator; | 857 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mCollator:Ljava/text/Collator; |
| |
856 | ····invoke-interface·{v1,·p1},·Ljava/util/List;->sort(Ljava/util/Comparator;)V | 858 | ····invoke-interface·{v0,·p1},·Ljava/util/List;->sort(Ljava/util/Comparator;)V |
| |
857 | ····.line·368 | 859 | ····.line·373 |
858 | ····invoke-interface·{v1},·Ljava/util/List;->isEmpty()Z | 860 | ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z |
| |
859 | ····move-result·p1 | 861 | ····move-result·p1 |
| |
860 | ····if-eqz·p1,·:cond_4 | 862 | ····if-eqz·p1,·:cond_4 |
| |
861 | ····const·p1,·0x7f120069 | 863 | ····const·p1,·0x7f12006f |
| |
862 | ····.line·369 | 864 | ····.line·374 |
863 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setSummary(I)V | 865 | ····invoke-virtual·{v2,·p1},·Landroidx/preference/Preference;->setSummary(I)V |
| |
864 | ····goto·:goto_1 | 866 | ····goto·:goto_1 |
| |
865 | ····:cond_4 | 867 | ····:cond_4 |
866 | ····const·p1,·0x7f12006a | 868 | ····const·p1,·0x7f120070 |
| |
867 | ····new-array·v2,·v2,·[Ljava/lang/Object; | 869 | ····new-array·v1,·v3,·[Ljava/lang/Object; |
| |
868 | ····.line·372 | 870 | ····.line·377 |
869 | ····invoke-static·{},·Landroid/icu/text/ListFormatter;->getInstance()Landroid/icu/text/ListFormatter; | 871 | ····invoke-static·{},·Landroid/icu/text/ListFormatter;->getInstance()Landroid/icu/text/ListFormatter; |
| |
870 | ····move-result-object·v4 | 872 | ····move-result-object·v3 |
| |
871 | ····invoke-virtual·{v4,·v1},·Landroid/icu/text/ListFormatter;->format(Ljava/util/Collection;)Ljava/lang/String; | 873 | ····invoke-virtual·{v3,·v0},·Landroid/icu/text/ListFormatter;->format(Ljava/util/Collection;)Ljava/lang/String; |
| |
872 | ····move-result-object·v1 | 874 | ····move-result-object·v0 |
| |
873 | ····aput-object·v1,·v2,·v3 | 875 | ····aput-object·v0,·v1,·v4 |
| |
874 | ····.line·371 | 876 | ····.line·376 |
875 | ····invoke-virtual·{p0,·p1,·v2},·Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | 877 | ····invoke-virtual·{p0,·p1,·v1},·Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
| |
876 | ····move-result-object·p1 | 878 | ····move-result-object·p1 |
| |
877 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V | 879 | ····invoke-virtual·{v2,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
878 | ····:goto_1 | 880 | ····:goto_1 |
879 | ····return-void | 881 | ····return-void |
| |
880 | ····.line·349 | 882 | ····.line·352 |
881 | ····:cond_5 | 883 | ····:cond_5 |
882 | ····:goto_2 | 884 | ····:goto_2 |
883 | ····invoke-virtual·{v1,·v3},·Landroidx/preference/Preference;->setVisible(Z)V | 885 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
884 | ····.line·350 | 886 | ····.line·353 |
885 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/Preference;->setVisible(Z)V | 887 | ····invoke-virtual·{v1,·v4},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
| 888 | ····.line·354 |
| 889 | ····invoke-virtual·{v2,·v4},·Landroidx/preference/Preference;->setVisible(Z)V |
| |
886 | ····:cond_6 | 890 | ····:cond_6 |
887 | ····:goto_3 | 891 | ····:goto_3 |
888 | ····return-void | 892 | ····return-void |
889 | .end·method | 893 | .end·method |
| |
890 | .method·private·setNoPermissionPreference(Landroidx/preference/PreferenceCategory;ILandroid/content/Context;)V | 894 | .method·private·setNoPermissionPreference(Landroidx/preference/PreferenceCategory;ILandroid/content/Context;)V |
891 | ····.locals·1 | 895 | ····.locals·1 |
| |
892 | ····.line·405 | 896 | ····.line·410 |
893 | ····new-instance·v0,·Landroidx/preference/Preference; | 897 | ····new-instance·v0,·Landroidx/preference/Preference; |
| |
894 | ····invoke-direct·{v0,·p3},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V | 898 | ····invoke-direct·{v0,·p3},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V |
| |
895 | ····.line·406 | 899 | ····.line·411 |
896 | ····invoke-virtual·{p0,·p2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; | 900 | ····invoke-virtual·{p0,·p2},·Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; |
| |
897 | ····move-result-object·p2 | 901 | ····move-result-object·p2 |
| |
898 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 902 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
899 | ····.line·407 | 903 | ····.line·412 |
900 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; | 904 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getKey()Ljava/lang/String; |
| |
901 | ····move-result-object·p2 | 905 | ····move-result-object·p2 |
| |
902 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setTitle(Ljava/lang/CharSequence;)V | 906 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setTitle(Ljava/lang/CharSequence;)V |
| |
903 | ····const/4·p2,·0x0 | 907 | ····const/4·p2,·0x0 |
| |
904 | ····.line·408 | 908 | ····.line·413 |
905 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setSelectable(Z)V | 909 | ····invoke-virtual·{v0,·p2},·Landroidx/preference/Preference;->setSelectable(Z)V |
| |
906 | ····.line·409 | 910 | ····.line·414 |
907 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 911 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
908 | ····return-void | 912 | ····return-void |
909 | .end·method | 913 | .end·method |
| |
910 | .method·private·setUpCustomPermissionsScreen(Landroid/content/Context;ILjava/lang/String;)Landroidx/preference/Preference; | 914 | .method·private·setUpCustomPermissionsScreen(Landroid/content/Context;ILjava/lang/String;)Landroidx/preference/Preference; |
911 | ····.locals·3 | 915 | ····.locals·3 |
| |
912 | ····.line·388 | 916 | ····.line·393 |
913 | ····new-instance·v0,·Landroidx/preference/Preference; | 917 | ····new-instance·v0,·Landroidx/preference/Preference; |
| |
914 | ····invoke-direct·{v0,·p1},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V | 918 | ····invoke-direct·{v0,·p1},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V |
| |
915 | ····.line·389 | 919 | ····.line·394 |
916 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 920 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
917 | ····move-result-object·p1 | 921 | ····move-result-object·p1 |
| |
918 | ····const·v1,·0x7f0800bf | 922 | ····const·v1,·0x7f0800c1 |
| |
919 | ····const·v2,·0x1010429 | 923 | ····const·v2,·0x1010429 |
| |
920 | ····invoke-static·{p1,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; | 924 | ····invoke-static·{p1,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; |
| |
921 | ····move-result-object·p1 | 925 | ····move-result-object·p1 |
| |
922 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V | 926 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V |
| |
923 | ····const·p1,·0x7f120020 | 927 | ····const·p1,·0x7f120020 |
| |
924 | ····.line·391 | 928 | ····.line·396 |
925 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setTitle(I)V | 929 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setTitle(I)V |
| |
926 | ····.line·392 | 930 | ····.line·397 |
927 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 931 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
928 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 932 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
929 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 933 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
930 | ····move-result-object·v1 | 934 | ····move-result-object·v1 |
Offset 1057, 42 lines modified | Offset 1063, 42 lines modified |
| |
1057 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1063 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1058 | ····move-result-object·p1 | 1064 | ····move-result-object·p1 |
| |
1059 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 1065 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
1060 | ····.line·393 | 1066 | ····.line·398 |
1061 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$LP0st3ccdhhTmtUZT8FqtFIHSWU; | 1067 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$LP0st3ccdhhTmtUZT8FqtFIHSWU; |
| |
1062 | ····invoke-direct·{p1,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$LP0st3ccdhhTmtUZT8FqtFIHSWU;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;)V | 1068 | ····invoke-direct·{p1,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$AppPermissionGroupsFragment$LP0st3ccdhhTmtUZT8FqtFIHSWU;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;)V |
| |
1063 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V | 1069 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V |
| |
1064 | ····.line·398 | 1070 | ····.line·403 |
1065 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources; | 1071 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources; |
| |
1066 | ····move-result-object·p1 | 1072 | ····move-result-object·p1 |
| |
1067 | ····const/4·p3,·0x1 | 1073 | ····const/4·p3,·0x1 |
| |
1068 | ····new-array·p3,·p3,·[Ljava/lang/Object; | 1074 | ····new-array·p3,·p3,·[Ljava/lang/Object; |
| |
1069 | ····.line·399 | 1075 | ····.line·404 |
1070 | ····invoke-static·{p2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1076 | ····invoke-static·{p2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1071 | ····move-result-object·v1 | 1077 | ····move-result-object·v1 |
| |
1072 | ····const/4·v2,·0x0 | 1078 | ····const/4·v2,·0x0 |
| |
1073 | ····aput-object·v1,·p3,·v2 | 1079 | ····aput-object·v1,·p3,·v2 |
| |
1074 | ····const/high16·v1,·0x7f100000 | 1080 | ····const/high16·v1,·0x7f100000 |
| |
1075 | ····.line·398 | 1081 | ····.line·403 |
1076 | ····invoke-virtual·{p1,·v1,·p2,·p3},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; | 1082 | ····invoke-virtual·{p1,·v1,·p2,·p3},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
1077 | ····move-result-object·p1 | 1083 | ····move-result-object·p1 |
| |
1078 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V | 1084 | ····invoke-virtual·{v0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
1079 | ····return-object·v0 | 1085 | ····return-object·v0 |
Offset 1111, 18 lines modified | Offset 1117, 18 lines modified |
1111 | ········} | 1117 | ········} |
1112 | ····.end·annotation | 1118 | ····.end·annotation |
| |
1113 | ····move-object/from16·v0,·p0 | 1119 | ····move-object/from16·v0,·p0 |
| |
1114 | ····move-object/from16·v1,·p1 | 1120 | ····move-object/from16·v1,·p1 |
| |
1115 | ····.line·219 | 1121 | ····.line·222 |
1116 | ····invoke-direct/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createPreferenceScreenIfNeeded()V | 1122 | ····invoke-direct/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createPreferenceScreenIfNeeded()V |
| |
1117 | ····.line·221 | 1123 | ····.line·224 |
1118 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 1124 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
1119 | ····move-result-object·v2 | 1125 | ····move-result-object·v2 |
| |
1120 | ····invoke-virtual·{v2},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 1126 | ····invoke-virtual·{v2},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
1121 | ····move-result-object·v2 | 1127 | ····move-result-object·v2 |
Offset 1132, 43 lines modified | Offset 1138, 43 lines modified |
1132 | ····return-void | 1138 | ····return-void |
| |
1133 | ····:cond_0 | 1139 | ····:cond_0 |
1134 | ····const/4·v13,·0x1 | 1140 | ····const/4·v13,·0x1 |
| |
1135 | ····if-nez·v1,·:cond_1 | 1141 | ····if-nez·v1,·:cond_1 |
| |
1136 | ····.line·226 | 1142 | ····.line·229 |
1137 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; | 1143 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; |
| |
1138 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; | 1144 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; |
| |
1139 | ····move-result-object·v3 | 1145 | ····move-result-object·v3 |
| |
1140 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->isInitialized()Z | 1146 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->isInitialized()Z |
| |
1141 | ····move-result·v3 | 1147 | ····move-result·v3 |
| |
1142 | ····if-eqz·v3,·:cond_1 | 1148 | ····if-eqz·v3,·:cond_1 |
| |
1143 | ····.line·228 | 1149 | ····.line·231 |
1144 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 1150 | ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
1145 | ····move-result-object·v1 | 1151 | ····move-result-object·v1 |
| |
1146 | ····const·v2,·0x7f120033 | 1152 | ····const·v2,·0x7f120033 |
| |
1147 | ····.line·227 | 1153 | ····.line·230 |
1148 | ····invoke-static·{v1,·v2,·v13},·Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; | 1154 | ····invoke-static·{v1,·v2,·v13},·Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; |
| |
1149 | ····move-result-object·v1 | 1155 | ····move-result-object·v1 |
| |
1150 | ····.line·228 | 1156 | ····.line·231 |
1151 | ····invoke-virtual·{v1},·Landroid/widget/Toast;->show()V | 1157 | ····invoke-virtual·{v1},·Landroid/widget/Toast;->show()V |
| |
1152 | ····.line·229 | 1158 | ····.line·232 |
1153 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->LOG_TAG:Ljava/lang/String; | 1159 | ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->LOG_TAG:Ljava/lang/String; |
| |
1154 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 1160 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
1155 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | 1161 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
| |
1156 | ····const-string·v3,·"invalid·package·" | 1162 | ····const-string·v3,·"invalid·package·" |
Offset 1181, 20 lines modified | Offset 1187, 20 lines modified |
| |
1181 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1187 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1182 | ····move-result-object·v2 | 1188 | ····move-result-object·v2 |
| |
1183 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 1189 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
1184 | ····.line·231 | 1190 | ····.line·234 |
1185 | ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/UtilsKt;->pressBack(Landroidx/fragment/app/Fragment;)V | 1191 | ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/UtilsKt;->pressBack(Landroidx/fragment/app/Fragment;)V |
| |
1186 | ····return-void | 1192 | ····return-void |
| |
1187 | ····.line·236 | 1193 | ····.line·239 |
1188 | ····:cond_1 | 1194 | ····:cond_1 |
1189 | ····sget-object·v3,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED_FOREGROUND:Lcom/android/permissioncontroller/permission/ui/Category; | 1195 | ····sget-object·v3,·Lcom/android/permissioncontroller/permission/ui/Category;->ALLOWED_FOREGROUND:Lcom/android/permissioncontroller/permission/ui/Category; |
| |
1190 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; | 1196 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/ui/Category;->getCategoryName()Ljava/lang/String; |
| |
1191 | ····move-result-object·v3 | 1197 | ····move-result-object·v3 |
| |
Offset 1202, 28 lines modified | Offset 1208, 28 lines modified |
| |
1202 | ····move-result-object·v3 | 1208 | ····move-result-object·v3 |
| |
Max diff block lines reached; 24812/60749 bytes (40.84%) of diff not shown.
|