| | | |
Offset 11, 135 lines modified | Offset 11, 135 lines modified |
11 | .field·private·mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 11 | .field·private·mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
| |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·static·constructor·<clinit>()V | 13 | .method·static·constructor·<clinit>()V |
14 | ····.locals·1 | 14 | ····.locals·1 |
| |
15 | ····.line·41 | 15 | ····.line·46 |
16 | ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment; | 16 | ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment; |
| |
17 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 17 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
| |
18 | ····move-result-object·v0 | 18 | ····move-result-object·v0 |
| |
19 | ····sput-object·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->LOG_TAG:Ljava/lang/String; | 19 | ····sput-object·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->LOG_TAG:Ljava/lang/String; |
| |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
| |
22 | .method·public·constructor·<init>()V | 22 | .method·public·constructor·<init>()V |
23 | ····.locals·0 | 23 | ····.locals·0 |
| |
24 | ····.line·38 | 24 | ····.line·43 |
25 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;-><init>()V | 25 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;-><init>()V |
| |
26 | ····return-void | 26 | ····return-void |
27 | .end·method | 27 | .end·method |
| |
28 | .method·private·synthetic·lambda$onCreate$0(Ljava/util/Map;)V | 28 | .method·private·synthetic·lambda$onCreate$0(Ljava/util/Map;)V |
29 | ····.locals·1 | 29 | ····.locals·1 |
| |
30 | ····if-eqz·p1,·:cond_0 | 30 | ····if-eqz·p1,·:cond_0 |
| |
31 | ····.line·69 | 31 | ····.line·76 |
32 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->mPermissionGroups:Ljava/util/Map; | 32 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->mPermissionGroups:Ljava/util/Map; |
| |
33 | ····.line·70 | 33 | ····.line·77 |
34 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; | 34 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; |
| |
35 | ····goto·:goto_0 | 35 | ····goto·:goto_0 |
| |
36 | ····.line·72 | 36 | ····.line·79 |
37 | ····:cond_0 | 37 | ····:cond_0 |
38 | ····sget-object·p1,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->LOG_TAG:Ljava/lang/String; | 38 | ····sget-object·p1,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->LOG_TAG:Ljava/lang/String; |
| |
39 | ····const-string·v0,·"ViewModel·returned·null·data,·exiting" | 39 | ····const-string·v0,·"ViewModel·returned·null·data,·exiting" |
| |
40 | ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 40 | ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
| |
41 | ····.line·73 | 41 | ····.line·80 |
42 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 42 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
43 | ····move-result-object·p1 | 43 | ····move-result-object·p1 |
| |
44 | ····invoke-virtual·{p1},·Landroid/app/Activity;->finish()V | 44 | ····invoke-virtual·{p1},·Landroid/app/Activity;->finish()V |
| |
45 | ····:goto_0 | 45 | ····:goto_0 |
46 | ····return-void | 46 | ····return-void |
47 | .end·method | 47 | .end·method |
| |
48 | .method·private·synthetic·lambda$onCreate$1(Ljava/lang/Integer;)V | 48 | .method·private·synthetic·lambda$onCreate$1(Ljava/lang/Integer;)V |
49 | ····.locals·0 | 49 | ····.locals·0 |
| |
50 | ····.line·77 | 50 | ····.line·84 |
51 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; | 51 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; |
| |
52 | ····return-void | 52 | ····return-void |
53 | .end·method | 53 | .end·method |
| |
54 | .method·private·synthetic·lambda$onCreate$2(Ljava/lang/Integer;)V | 54 | .method·private·synthetic·lambda$onCreate$2(Ljava/lang/Integer;)V |
55 | ····.locals·0 | 55 | ····.locals·0 |
| |
56 | ····.line·78 | 56 | ····.line·85 |
57 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; | 57 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; |
| |
58 | ····return-void | 58 | ····return-void |
59 | .end·method | 59 | .end·method |
| |
60 | .method·private·synthetic·lambda$updatePermissionsUi$3(Landroidx/preference/Preference;)Z | 60 | .method·private·synthetic·lambda$updatePermissionsUi$3(Landroidx/preference/Preference;)Z |
61 | ····.locals·2 | 61 | ····.locals·2 |
| |
62 | ····.line·125 | 62 | ····.line·146 |
63 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 63 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
64 | ····.line·127 | 64 | ····.line·148 |
65 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 65 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
66 | ····move-result-object·v0 | 66 | ····move-result-object·v0 |
| |
67 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" | 67 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
68 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J | 68 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J |
| |
69 | ····move-result-wide·v0 | 69 | ····move-result-wide·v0 |
| |
70 | ····.line·126 | 70 | ····.line·147 |
71 | ····invoke-static·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageCustomPermissionsFragment;->createArgs(J)Landroid/os/Bundle; | 71 | ····invoke-static·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/ManageCustomPermissionsFragment;->createArgs(J)Landroid/os/Bundle; |
| |
72 | ····move-result-object·v0 | 72 | ····move-result-object·v0 |
| |
73 | ····.line·125 | 73 | ····.line·146 |
74 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showCustomPermissions(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V | 74 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showCustomPermissions(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V |
| |
75 | ····const/4·p1,·0x1 | 75 | ····const/4·p1,·0x1 |
| |
76 | ····return·p1 | 76 | ····return·p1 |
77 | .end·method | 77 | .end·method |
| |
78 | .method·private·synthetic·lambda$updatePermissionsUi$4(Landroidx/preference/Preference;)Z | 78 | .method·private·synthetic·lambda$updatePermissionsUi$4(Landroidx/preference/Preference;)Z |
79 | ····.locals·4 | 79 | ····.locals·4 |
| |
80 | ····.line·155 | 80 | ····.line·176 |
81 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 81 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
82 | ····.line·156 | 82 | ····.line·177 |
83 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 83 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
84 | ····move-result-object·v0 | 84 | ····move-result-object·v0 |
| |
85 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" | 85 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
86 | ····const-wide/16·v2,·0x0 | 86 | ····const-wide/16·v2,·0x0 |
| |
87 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J | 87 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J |
| |
88 | ····move-result-wide·v0 | 88 | ····move-result-wide·v0 |
| |
89 | ····.line·155 | 89 | ····.line·176 |
90 | ····invoke-static·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle; | 90 | ····invoke-static·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle; |
| |
91 | ····move-result-object·v0 | 91 | ····move-result-object·v0 |
| |
92 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showAutoRevoke(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V | 92 | ····invoke-virtual·{p1,·p0,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showAutoRevoke(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V |
| |
93 | ····const/4·p1,·0x1 | 93 | ····const/4·p1,·0x1 |
Offset 192, 87 lines modified | Offset 192, 87 lines modified |
| |
192 | ····return·p1 | 192 | ····return·p1 |
193 | .end·method | 193 | .end·method |
| |
194 | .method·public·onCreate(Landroid/os/Bundle;)V | 194 | .method·public·onCreate(Landroid/os/Bundle;)V |
195 | ····.locals·1 | 195 | ····.locals·1 |
| |
196 | ····.line·59 | 196 | ····.line·66 |
197 | ····invoke-super·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->onCreate(Landroid/os/Bundle;)V | 197 | ····invoke-super·{p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->onCreate(Landroid/os/Bundle;)V |
| |
198 | ····.line·61 | 198 | ····.line·68 |
199 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModelFactory; | 199 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModelFactory; |
| |
200 | ····.line·62 | 200 | ····.line·69 |
201 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 201 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
202 | ····move-result-object·v0 | 202 | ····move-result-object·v0 |
| |
203 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; | 203 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getApplication()Landroid/app/Application; |
| |
204 | ····move-result-object·v0 | 204 | ····move-result-object·v0 |
| |
205 | ····invoke-direct·{p1,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModelFactory;-><init>(Landroid/app/Application;)V | 205 | ····invoke-direct·{p1,·v0},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModelFactory;-><init>(Landroid/app/Application;)V |
| |
206 | ····.line·63 | 206 | ····.line·70 |
207 | ····new-instance·v0,·Landroidx/lifecycle/ViewModelProvider; | 207 | ····new-instance·v0,·Landroidx/lifecycle/ViewModelProvider; |
| |
208 | ····invoke-direct·{v0,·p0,·p1},·Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V | 208 | ····invoke-direct·{v0,·p0,·p1},·Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V |
| |
209 | ····const-class·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 209 | ····const-class·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
210 | ····.line·64 | 210 | ····.line·71 |
211 | ····invoke-virtual·{v0,·p1},·Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel; | 211 | ····invoke-virtual·{v0,·p1},·Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel; |
| |
212 | ····move-result-object·p1 | 212 | ····move-result-object·p1 |
| |
213 | ····check-cast·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 213 | ····check-cast·p1,·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
214 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 214 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
215 | ····.line·65 | 215 | ····.line·72 |
216 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getUiDataLiveData()Lcom/android/permissioncontroller/permission/data/PermGroupsPackagesUiInfoLiveData; | 216 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getUiDataLiveData()Lcom/android/permissioncontroller/permission/data/PermGroupsPackagesUiInfoLiveData; |
| |
217 | ····move-result-object·p1 | 217 | ····move-result-object·p1 |
| |
218 | ····invoke-virtual·{p1},·Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object; | 218 | ····invoke-virtual·{p1},·Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object; |
| |
219 | ····move-result-object·p1 | 219 | ····move-result-object·p1 |
| |
220 | ····check-cast·p1,·Ljava/util/Map; | 220 | ····check-cast·p1,·Ljava/util/Map; |
| |
221 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->mPermissionGroups:Ljava/util/Map; | 221 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->mPermissionGroups:Ljava/util/Map; |
| |
222 | ····.line·67 | 222 | ····.line·74 |
223 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 223 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
224 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getUiDataLiveData()Lcom/android/permissioncontroller/permission/data/PermGroupsPackagesUiInfoLiveData; | 224 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getUiDataLiveData()Lcom/android/permissioncontroller/permission/data/PermGroupsPackagesUiInfoLiveData; |
| |
225 | ····move-result-object·p1 | 225 | ····move-result-object·p1 |
| |
226 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$YQzh6AQ8URfPVVcVPofpjvl6rr8; | 226 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$YQzh6AQ8URfPVVcVPofpjvl6rr8; |
| |
227 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$YQzh6AQ8URfPVVcVPofpjvl6rr8;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V | 227 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$YQzh6AQ8URfPVVcVPofpjvl6rr8;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V |
| |
228 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V | 228 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V |
| |
229 | ····.line·77 | 229 | ····.line·84 |
230 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 230 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
231 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; | 231 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; |
| |
232 | ····move-result-object·p1 | 232 | ····move-result-object·p1 |
| |
233 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$9sVUfyqxCkOV_lKQPJPADck-H6g; | 233 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$9sVUfyqxCkOV_lKQPJPADck-H6g; |
| |
234 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$9sVUfyqxCkOV_lKQPJPADck-H6g;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V | 234 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$9sVUfyqxCkOV_lKQPJPADck-H6g;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V |
| |
235 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V | 235 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V |
| |
236 | ····.line·78 | 236 | ····.line·85 |
237 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 237 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
238 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumAutoRevoked()Landroidx/lifecycle/LiveData; | 238 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumAutoRevoked()Landroidx/lifecycle/LiveData; |
| |
239 | ····move-result-object·p1 | 239 | ····move-result-object·p1 |
| |
240 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$O5yLmqQXf3inALAC6w5QOLgiYgo; | 240 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$O5yLmqQXf3inALAC6w5QOLgiYgo; |
Offset 280, 102 lines modified | Offset 280, 160 lines modified |
280 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$O5yLmqQXf3inALAC6w5QOLgiYgo;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V | 280 | ····invoke-direct·{v0,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$O5yLmqQXf3inALAC6w5QOLgiYgo;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V |
| |
281 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V | 281 | ····invoke-virtual·{p1,·p0,·v0},·Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V |
| |
282 | ····return-void | 282 | ····return-void |
283 | .end·method | 283 | .end·method |
| |
284 | .method·public·onOptionsItemSelected(Landroid/view/MenuItem;)Z | 284 | .method·public·onCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)V |
285 | ····.locals·2 | 285 | ····.locals·2 |
| |
286 | ····.line·90 | 286 | ····.line·111 |
| 287 | ····invoke-super·{p0,·p1,·p2},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionsFrameFragment;->onCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)V |
| |
| 288 | ····.line·113 |
| 289 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/debug/UtilsKt;->shouldShowPermissionsDashboard()Z |
| |
| 290 | ····move-result·p2 |
| |
| 291 | ····if-eqz·p2,·:cond_0 |
| |
| 292 | ····const/4·p2,·0x5 |
| |
| 293 | ····const·v0,·0x7f12017b |
| |
| 294 | ····const/4·v1,·0x0 |
| |
| 295 | ····.line·114 |
| 296 | ····invoke-interface·{p1,·v1,·p2,·v1,·v0},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; |
| |
| 297 | ····:cond_0 |
| 298 | ····return-void |
| 299 | .end·method |
| |
| 300 | .method·public·onOptionsItemSelected(Landroid/view/MenuItem;)Z |
| 301 | ····.locals·4 |
| |
| 302 | ····.line·97 |
287 | ····invoke-interface·{p1},·Landroid/view/MenuItem;->getItemId()I | 303 | ····invoke-interface·{p1},·Landroid/view/MenuItem;->getItemId()I |
| |
288 | ····move-result·v0 | 304 | ····move-result·v0 |
| |
289 | ····const·v1,·0x102002c | 305 | ····const/4·v1,·0x5 |
| |
290 | ····if-ne·v0,·v1,·:cond_0 | 306 | ····const/4·v2,·0x1 |
| |
291 | ····.line·91 | 307 | ····if-eq·v0,·v1,·:cond_1 |
292 | ····invoke-static·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/UtilsKt;->pressBack(Landroidx/fragment/app/Fragment;)V | |
| |
293 | ····const/4·p1,·0x1 | 308 | ····const·v1,·0x102002c |
| |
294 | ····return·p1 | 309 | ····if-eq·v0,·v1,·:cond_0 |
| |
295 | ····.line·94 | 310 | ····.line·106 |
296 | ····:cond_0 | |
297 | ····invoke-super·{p0,·p1},·Landroidx/fragment/app/Fragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z | 311 | ····invoke-super·{p0,·p1},·Landroidx/fragment/app/Fragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z |
| |
298 | ····move-result·p1 | 312 | ····move-result·p1 |
| |
299 | ····return·p1 | 313 | ····return·p1 |
| |
| 314 | ····.line·99 |
| 315 | ····:cond_0 |
| 316 | ····invoke-static·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/UtilsKt;->pressBack(Landroidx/fragment/app/Fragment;)V |
| |
| 317 | ····return·v2 |
| |
| 318 | ····.line·102 |
| 319 | ····:cond_1 |
| 320 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
| 321 | ····move-result-object·p1 |
| |
| 322 | ····new-instance·v0,·Landroid/content/Intent; |
| |
| 323 | ····const-string·v1,·"android.intent.action.REVIEW_PERMISSION_USAGE" |
| |
| 324 | ····invoke-direct·{v0,·v1},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V |
| |
| 325 | ····.line·103 |
| 326 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context; |
| |
| 327 | ····move-result-object·v1 |
| |
| 328 | ····const-class·v3,·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity; |
| |
| 329 | ····invoke-virtual·{v0,·v1,·v3},·Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent; |
| |
| 330 | ····move-result-object·v0 |
| |
| 331 | ····.line·102 |
| 332 | ····invoke-virtual·{p1,·v0},·Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V |
| |
| 333 | ····return·v2 |
300 | .end·method | 334 | .end·method |
| |
301 | .method·public·onStart()V | 335 | .method·public·onStart()V |
302 | ····.locals·2 | 336 | ····.locals·2 |
| |
303 | ····.line·83 | 337 | ····.line·90 |
304 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionsFrameFragment;->onStart()V | 338 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionsFrameFragment;->onStart()V |
| |
305 | ····.line·85 | 339 | ····.line·92 |
306 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 340 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
307 | ····move-result-object·v0 | 341 | ····move-result-object·v0 |
| |
308 | ····const·v1,·0x7f12003f | 342 | ····const·v1,·0x7f12003f |
| |
309 | ····invoke-virtual·{v0,·v1},·Landroid/app/Activity;->setTitle(I)V | 343 | ····invoke-virtual·{v0,·v1},·Landroid/app/Activity;->setTitle(I)V |
| |
310 | ····return-void | 344 | ····return-void |
311 | .end·method | 345 | .end·method |
| |
312 | .method·public·showPermissionApps(Ljava/lang/String;)V | 346 | .method·public·showPermissionApps(Ljava/lang/String;)V |
313 | ····.locals·3 | 347 | ····.locals·3 |
| |
314 | ····.line·171 | 348 | ····.line·192 |
315 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 349 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
316 | ····.line·172 | 350 | ····.line·193 |
317 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 351 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
318 | ····move-result-object·v1 | 352 | ····move-result-object·v1 |
| |
319 | ····const-string·v2,·"com.android.permissioncontroller.extra.SESSION_ID" | 353 | ····const-string·v2,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
320 | ····invoke-virtual·{v1,·v2},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J | 354 | ····invoke-virtual·{v1,·v2},·Landroid/os/Bundle;->getLong(Ljava/lang/String;)J |
| |
321 | ····move-result-wide·v1 | 355 | ····move-result-wide·v1 |
| |
322 | ····.line·171 | 356 | ····.line·192 |
323 | ····invoke-static·{p1,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionAppsFragment;->createArgs(Ljava/lang/String;J)Landroid/os/Bundle; | 357 | ····invoke-static·{p1,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionAppsFragment;->createArgs(Ljava/lang/String;J)Landroid/os/Bundle; |
| |
324 | ····move-result-object·p1 | 358 | ····move-result-object·p1 |
| |
325 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showPermissionApps(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V | 359 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->showPermissionApps(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V |
| |
326 | ····return-void | 360 | ····return-void |
327 | .end·method | 361 | .end·method |
| |
328 | .method·protected·updatePermissionsUi()Landroidx/preference/PreferenceScreen; | 362 | .method·protected·updatePermissionsUi()Landroidx/preference/PreferenceScreen; |
329 | ····.locals·9 | 363 | ····.locals·9 |
| |
330 | ····.line·99 | 364 | ····.line·120 |
331 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; | 365 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment;->updatePermissionsUi()Landroidx/preference/PreferenceScreen; |
| |
332 | ····move-result-object·v0 | 366 | ····move-result-object·v0 |
| |
333 | ····if-nez·v0,·:cond_0 | 367 | ····if-nez·v0,·:cond_0 |
| |
334 | ····const/4·v0,·0x0 | 368 | ····const/4·v0,·0x0 |
| |
335 | ····return-object·v0 | 369 | ····return-object·v0 |
| |
336 | ····.line·106 | 370 | ····.line·127 |
337 | ····:cond_0 | 371 | ····:cond_0 |
338 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 372 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
339 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; | 373 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; |
| |
340 | ····move-result-object·v1 | 374 | ····move-result-object·v1 |
| |
Offset 383, 15 lines modified | Offset 441, 15 lines modified |
| |
383 | ····move-result-object·v1 | 441 | ····move-result-object·v1 |
| |
384 | ····const/4·v2,·0x0 | 442 | ····const/4·v2,·0x0 |
| |
385 | ····if-eqz·v1,·:cond_1 | 443 | ····if-eqz·v1,·:cond_1 |
| |
386 | ····.line·107 | 444 | ····.line·128 |
387 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 445 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
388 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; | 446 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumCustomPermGroups()Lcom/android/permissioncontroller/permission/ui/model/NumCustomPermGroupsWithPackagesLiveData; |
| |
389 | ····move-result-object·v1 | 447 | ····move-result-object·v1 |
| |
390 | ····invoke-virtual·{v1},·Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object; | 448 | ····invoke-virtual·{v1},·Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object; |
Offset 408, 105 lines modified | Offset 466, 105 lines modified |
| |
408 | ····:cond_1 | 466 | ····:cond_1 |
409 | ····move·v1,·v2 | 467 | ····move·v1,·v2 |
| |
410 | ····:goto_0 | 468 | ····:goto_0 |
411 | ····const-string·v3,·"extra_prefs_key" | 469 | ····const-string·v3,·"extra_prefs_key" |
| |
412 | ····.line·110 | 470 | ····.line·131 |
413 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 471 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
414 | ····move-result-object·v4 | 472 | ····move-result-object·v4 |
| |
415 | ····const/4·v5,·0x1 | 473 | ····const/4·v5,·0x1 |
| |
416 | ····if-nez·v1,·:cond_2 | 474 | ····if-nez·v1,·:cond_2 |
| |
417 | ····if-eqz·v4,·:cond_4 | 475 | ····if-eqz·v4,·:cond_4 |
| |
418 | ····.line·113 | 476 | ····.line·134 |
419 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z | 477 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z |
| |
420 | ····goto·:goto_1 | 478 | ····goto·:goto_1 |
| |
421 | ····:cond_2 | 479 | ····:cond_2 |
422 | ····if-nez·v4,·:cond_3 | 480 | ····if-nez·v4,·:cond_3 |
| |
423 | ····.line·117 | 481 | ····.line·138 |
424 | ····new-instance·v4,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference; | 482 | ····new-instance·v4,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference; |
| |
425 | ····.line·118 | 483 | ····.line·139 |
426 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 484 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
427 | ····move-result-object·v6 | 485 | ····move-result-object·v6 |
| |
428 | ····invoke-virtual·{v6},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 486 | ····invoke-virtual·{v6},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
429 | ····move-result-object·v6 | 487 | ····move-result-object·v6 |
| |
430 | ····invoke-direct·{v4,·v6},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference;-><init>(Landroid/content/Context;)V | 488 | ····invoke-direct·{v4,·v6},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference;-><init>(Landroid/content/Context;)V |
| |
431 | ····.line·119 | 489 | ····.line·140 |
432 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 490 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
433 | ····.line·120 | 491 | ····.line·141 |
434 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 492 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
435 | ····move-result-object·v3 | 493 | ····move-result-object·v3 |
| |
436 | ····const·v6,·0x7f0800aa | 494 | ····const·v6,·0x7f0800ac |
| |
437 | ····const·v7,·0x1010429 | 495 | ····const·v7,·0x1010429 |
| |
438 | ····invoke-static·{v3,·v6,·v7},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; | 496 | ····invoke-static·{v3,·v6,·v7},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable; |
| |
439 | ····move-result-object·v3 | 497 | ····move-result-object·v3 |
| |
440 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V | 498 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setIcon(Landroid/graphics/drawable/Drawable;)V |
| |
441 | ····const·v3,·0x7f120020 | 499 | ····const·v3,·0x7f120020 |
| |
442 | ····.line·123 | 500 | ····.line·144 |
443 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setTitle(I)V | 501 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setTitle(I)V |
| |
444 | ····.line·124 | 502 | ····.line·145 |
445 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$DsuljzT1HyKpS-oaJ1V3x1qnHuw; | 503 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$DsuljzT1HyKpS-oaJ1V3x1qnHuw; |
| |
446 | ····invoke-direct·{v3,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$DsuljzT1HyKpS-oaJ1V3x1qnHuw;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V | 504 | ····invoke-direct·{v3,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$DsuljzT1HyKpS-oaJ1V3x1qnHuw;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V |
| |
447 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V | 505 | ····invoke-virtual·{v4,·v3},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V |
| |
448 | ····.line·131 | 506 | ····.line·152 |
449 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 507 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
450 | ····.line·134 | 508 | ····.line·155 |
451 | ····:cond_3 | 509 | ····:cond_3 |
452 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources; | 510 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources; |
| |
453 | ····move-result-object·v3 | 511 | ····move-result-object·v3 |
| |
454 | ····const/high16·v6,·0x7f100000 | 512 | ····const/high16·v6,·0x7f100000 |
| |
455 | ····new-array·v7,·v5,·[Ljava/lang/Object; | 513 | ····new-array·v7,·v5,·[Ljava/lang/Object; |
| |
456 | ····.line·136 | 514 | ····.line·157 |
457 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 515 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
458 | ····move-result-object·v8 | 516 | ····move-result-object·v8 |
| |
459 | ····aput-object·v8,·v7,·v2 | 517 | ····aput-object·v8,·v7,·v2 |
| |
460 | ····.line·134 | 518 | ····.line·155 |
461 | ····invoke-virtual·{v3,·v6,·v1,·v7},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; | 519 | ····invoke-virtual·{v3,·v6,·v1,·v7},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
462 | ····move-result-object·v1 | 520 | ····move-result-object·v1 |
| |
463 | ····invoke-virtual·{v4,·v1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V | 521 | ····invoke-virtual·{v4,·v1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
464 | ····.line·139 | 522 | ····.line·160 |
465 | ····:cond_4 | 523 | ····:cond_4 |
466 | ····:goto_1 | 524 | ····:goto_1 |
467 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; | 525 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;->mViewModel:Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel; |
| |
468 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumAutoRevoked()Landroidx/lifecycle/LiveData; | 526 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/ui/model/ManageStandardPermissionsViewModel;->getNumAutoRevoked()Landroidx/lifecycle/LiveData; |
| |
469 | ····move-result-object·v1 | 527 | ····move-result-object·v1 |
Offset 515, 87 lines modified | Offset 573, 87 lines modified |
| |
515 | ····move-result-object·v1 | 573 | ····move-result-object·v1 |
| |
516 | ····check-cast·v1,·Ljava/lang/Integer; | 574 | ····check-cast·v1,·Ljava/lang/Integer; |
| |
517 | ····const-string·v3,·"auto_revoke_key" | 575 | ····const-string·v3,·"auto_revoke_key" |
| |
518 | ····.line·141 | 576 | ····.line·162 |
519 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 577 | ····invoke-virtual·{v0,·v3},·Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
520 | ····move-result-object·v4 | 578 | ····move-result-object·v4 |
| |
521 | ····if-eqz·v1,·:cond_5 | 579 | ····if-eqz·v1,·:cond_5 |
| |
522 | ····.line·142 | 580 | ····.line·163 |
523 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I | 581 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I |
| |
524 | ····move-result·v6 | 582 | ····move-result·v6 |
| |
525 | ····if-eqz·v6,·:cond_5 | 583 | ····if-eqz·v6,·:cond_5 |
| |
526 | ····if-nez·v4,·:cond_6 | 584 | ····if-nez·v4,·:cond_6 |
| |
527 | ····.line·144 | 585 | ····.line·165 |
528 | ····new-instance·v1,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference; | 586 | ····new-instance·v1,·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference; |
| |
529 | ····.line·145 | 587 | ····.line·166 |
530 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; | 588 | ····invoke-virtual·{p0},·Landroidx/preference/PreferenceFragmentCompat;->getPreferenceManager()Landroidx/preference/PreferenceManager; |
| |
531 | ····move-result-object·v4 | 589 | ····move-result-object·v4 |
| |
532 | ····invoke-virtual·{v4},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; | 590 | ····invoke-virtual·{v4},·Landroidx/preference/PreferenceManager;->getContext()Landroid/content/Context; |
| |
533 | ····move-result-object·v4 | 591 | ····move-result-object·v4 |
| |
534 | ····invoke-direct·{v1,·v4,·v5,·v5},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference;-><init>(Landroid/content/Context;ZZ)V | 592 | ····invoke-direct·{v1,·v4,·v5,·v5},·Lcom/android/permissioncontroller/permission/ui/handheld/ManagePermissionsFragment$FixedSizeIconPreference;-><init>(Landroid/content/Context;ZZ)V |
| |
535 | ····const/4·v4,·-0x1 | 593 | ····const/4·v4,·-0x1 |
| |
536 | ····.line·146 | 594 | ····.line·167 |
537 | ····invoke-virtual·{v1,·v4},·Landroidx/preference/Preference;->setOrder(I)V | 595 | ····invoke-virtual·{v1,·v4},·Landroidx/preference/Preference;->setOrder(I)V |
| |
538 | ····.line·147 | 596 | ····.line·168 |
539 | ····invoke-virtual·{v1,·v3},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V | 597 | ····invoke-virtual·{v1,·v3},·Landroidx/preference/Preference;->setKey(Ljava/lang/String;)V |
| |
540 | ····.line·148 | 598 | ····.line·169 |
541 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setSingleLineTitle(Z)V | 599 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setSingleLineTitle(Z)V |
| |
542 | ····const·v2,·0x7f0800a8 | 600 | ····const·v2,·0x7f0800aa |
| |
543 | ····.line·149 | 601 | ····.line·170 |
544 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setIcon(I)V | 602 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setIcon(I)V |
| |
545 | ····const·v2,·0x7f120063 | 603 | ····const·v2,·0x7f120069 |
| |
546 | ····.line·150 | 604 | ····.line·171 |
547 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setTitle(I)V | 605 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setTitle(I)V |
| |
548 | ····const·v2,·0x7f120068 | 606 | ····const·v2,·0x7f12006e |
| |
549 | ····.line·152 | 607 | ····.line·173 |
550 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setSummary(I)V | 608 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setSummary(I)V |
| |
551 | ····.line·154 | 609 | ····.line·175 |
552 | ····new-instance·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$vp46gpOHhXbMfzYWPqUO-fQdCRA; | 610 | ····new-instance·v2,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$vp46gpOHhXbMfzYWPqUO-fQdCRA; |
| |
553 | ····invoke-direct·{v2,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$vp46gpOHhXbMfzYWPqUO-fQdCRA;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V | 611 | ····invoke-direct·{v2,·p0},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$ManageStandardPermissionsFragment$vp46gpOHhXbMfzYWPqUO-fQdCRA;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/ManageStandardPermissionsFragment;)V |
| |
554 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V | 612 | ····invoke-virtual·{v1,·v2},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V |
| |
555 | ····.line·160 | 613 | ····.line·181 |
556 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z | 614 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z |
| |
557 | ····goto·:goto_2 | 615 | ····goto·:goto_2 |
| |
558 | ····:cond_5 | 616 | ····:cond_5 |
559 | ····if-eqz·v1,·:cond_6 | 617 | ····if-eqz·v1,·:cond_6 |
| |
560 | ····if-eqz·v4,·:cond_6 | 618 | ····if-eqz·v4,·:cond_6 |
| |
561 | ····.line·163 | 619 | ····.line·184 |
562 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z | 620 | ····invoke-virtual·{v0,·v4},·Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z |
| |
563 | ····:cond_6 | 621 | ····:cond_6 |
564 | ····:goto_2 | 622 | ····:goto_2 |
565 | ····return-object·v0 | 623 | ····return-object·v0 |
566 | .end·method | 624 | .end·method |