| | | |
Offset 82, 99 lines modified | Offset 82, 99 lines modified |
| |
82 | ····move-object·v1,·p1 | 82 | ····move-object·v1,·p1 |
| |
83 | ····move-object·v2,·p2 | 83 | ····move-object·v2,·p2 |
| |
84 | ····move-object·v4,·p3 | 84 | ····move-object·v4,·p3 |
| |
85 | ····.line·77 | 85 | ····.line·76 |
86 | ····invoke-direct/range·{v0·..·v6},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;)V | 86 | ····invoke-direct/range·{v0·..·v6},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;)V |
| |
87 | ····return-void | 87 | ····return-void |
88 | .end·method | 88 | .end·method |
| |
89 | .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;)V | 89 | .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;)V |
90 | ····.locals·0 | 90 | ····.locals·0 |
| |
91 | ····.line·81 | 91 | ····.line·80 |
92 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 92 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
93 | ····.line·82 | 93 | ····.line·81 |
94 | ····iput-object·p5,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPmCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache; | 94 | ····iput-object·p5,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPmCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache; |
| |
95 | ····.line·83 | 95 | ····.line·82 |
96 | ····iput-object·p6,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppDataCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache; | 96 | ····iput-object·p6,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppDataCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache; |
| |
97 | ····.line·84 | 97 | ····.line·83 |
98 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 98 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
99 | ····.line·85 | 99 | ····.line·84 |
100 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 100 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
101 | ····move-result-object·p1 | 101 | ····move-result-object·p1 |
| |
102 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 102 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
103 | ····.line·86 | 103 | ····.line·85 |
104 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 104 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
105 | ····.line·87 | 105 | ····.line·86 |
106 | ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mCallback:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; | 106 | ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mCallback:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; |
| |
107 | ····.line·88 | 107 | ····.line·87 |
108 | ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; | 108 | ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; |
| |
109 | ····.line·89 | 109 | ····.line·88 |
110 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadGroupInfo()V | 110 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadGroupInfo()V |
| |
111 | ····return-void | 111 | ····return-void |
112 | .end·method | 112 | .end·method |
| |
113 | .method·static·synthetic·access$200(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;)Ljava/util/List; | 113 | .method·static·synthetic·access$200(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;)Ljava/util/List; |
114 | ····.locals·0 | 114 | ····.locals·0 |
| |
115 | ····.line·53 | 115 | ····.line·52 |
116 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadPermissionApps()Ljava/util/List; | 116 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadPermissionApps()Ljava/util/List; |
| |
117 | ····move-result-object·p0 | 117 | ····move-result-object·p0 |
| |
118 | ····return-object·p0 | 118 | ····return-object·p0 |
119 | .end·method | 119 | .end·method |
| |
120 | .method·static·synthetic·access$302(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Z)Z | 120 | .method·static·synthetic·access$302(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Z)Z |
121 | ····.locals·0 | 121 | ····.locals·0 |
| |
122 | ····.line·53 | 122 | ····.line·52 |
123 | ····iput-boolean·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mRefreshing:Z | 123 | ····iput-boolean·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mRefreshing:Z |
| |
124 | ····return·p1 | 124 | ····return·p1 |
125 | .end·method | 125 | .end·method |
| |
126 | .method·static·synthetic·access$400(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Ljava/util/List;)V | 126 | .method·static·synthetic·access$400(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Ljava/util/List;)V |
127 | ····.locals·0 | 127 | ····.locals·0 |
| |
128 | ····.line·53 | 128 | ····.line·52 |
129 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->createMap(Ljava/util/List;)V | 129 | ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->createMap(Ljava/util/List;)V |
| |
130 | ····return-void | 130 | ····return-void |
131 | .end·method | 131 | .end·method |
| |
132 | .method·static·synthetic·access$500(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;)Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; | 132 | .method·static·synthetic·access$500(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;)Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; |
133 | ····.locals·0 | 133 | ····.locals·0 |
| |
134 | ····.line·53 | 134 | ····.line·52 |
135 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mCallback:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; | 135 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mCallback:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$Callback; |
| |
136 | ····return-object·p0 | 136 | ····return-object·p0 |
137 | .end·method | 137 | .end·method |
| |
138 | .method·static·synthetic·access$600()I | 138 | .method·static·synthetic·access$600()I |
139 | ····.locals·1 | 139 | ····.locals·1 |
| |
140 | ····.line·53 | 140 | ····.line·52 |
141 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I | 141 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I |
| |
142 | ····move-result·v0 | 142 | ····move-result·v0 |
| |
143 | ····return·v0 | 143 | ····return·v0 |
144 | .end·method | 144 | .end·method |
| |
Offset 185, 22 lines modified | Offset 185, 22 lines modified |
185 | ············"(", | 185 | ············"(", |
186 | ············"Ljava/util/List<", | 186 | ············"Ljava/util/List<", |
187 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", | 187 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", |
188 | ············">;)V" | 188 | ············">;)V" |
189 | ········} | 189 | ········} |
190 | ····.end·annotation | 190 | ····.end·annotation |
| |
191 | ····.line·321 | 191 | ····.line·311 |
192 | ····new-instance·v0,·Landroid/util/ArrayMap; | 192 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
193 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 193 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
194 | ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; | 194 | ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; |
| |
195 | ····.line·322 | 195 | ····.line·312 |
196 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 196 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
197 | ····move-result-object·v0 | 197 | ····move-result-object·v0 |
| |
198 | ····:goto_0 | 198 | ····:goto_0 |
199 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 199 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
Offset 210, 26 lines modified | Offset 210, 26 lines modified |
| |
210 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 210 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
211 | ····move-result-object·v1 | 211 | ····move-result-object·v1 |
| |
212 | ····check-cast·v1,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; | 212 | ····check-cast·v1,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; |
| |
213 | ····.line·323 | 213 | ····.line·313 |
214 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; | 214 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; |
| |
215 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getKey()Ljava/lang/String; | 215 | ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getKey()Ljava/lang/String; |
| |
216 | ····move-result-object·v3 | 216 | ····move-result-object·v3 |
| |
217 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 217 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
218 | ····goto·:goto_0 | 218 | ····goto·:goto_0 |
| |
219 | ····.line·325 | 219 | ····.line·315 |
220 | ····:cond_0 | 220 | ····:cond_0 |
221 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; | 221 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; |
| |
222 | ····return-void | 222 | ····return-void |
223 | .end·method | 223 | .end·method |
| |
224 | .method·private·getPackageInfos(Landroid/os/UserHandle;)Ljava/util/List; | 224 | .method·private·getPackageInfos(Landroid/os/UserHandle;)Ljava/util/List; |
Offset 241, 148 lines modified | Offset 241, 148 lines modified |
241 | ············")", | 241 | ············")", |
242 | ············"Ljava/util/List<", | 242 | ············"Ljava/util/List<", |
243 | ············"Landroid/content/pm/PackageInfo;", | 243 | ············"Landroid/content/pm/PackageInfo;", |
244 | ············">;" | 244 | ············">;" |
245 | ········} | 245 | ········} |
246 | ····.end·annotation | 246 | ····.end·annotation |
| |
247 | ····.line·181 | 247 | ····.line·180 |
248 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPmCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache; | 248 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPmCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache; |
| |
249 | ····if-eqz·v0,·:cond_0 | 249 | ····if-eqz·v0,·:cond_0 |
| |
250 | ····.line·182 | 250 | ····.line·181 |
251 | ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I | 251 | ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I |
| |
252 | ····move-result·v1 | 252 | ····move-result·v1 |
| |
253 | ····.line·181 | 253 | ····.line·180 |
254 | ····invoke-virtual·{v0,·v1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;->getPackages(I)Ljava/util/List; | 254 | ····invoke-virtual·{v0,·v1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PmCache;->getPackages(I)Ljava/util/List; |
| |
255 | ····move-result-object·v0 | 255 | ····move-result-object·v0 |
| |
256 | ····goto·:goto_0 | 256 | ····goto·:goto_0 |
| |
257 | ····:cond_0 | 257 | ····:cond_0 |
258 | ····const/4·v0,·0x0 | 258 | ····const/4·v0,·0x0 |
| |
259 | ····:goto_0 | 259 | ····:goto_0 |
260 | ····const/4·v1,·0x1 | 260 | ····const/4·v1,·0x1 |
| |
261 | ····if-eqz·v0,·:cond_3 | 261 | ····if-eqz·v0,·:cond_3 |
| |
262 | ····.line·184 | 262 | ····.line·183 |
263 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; | 263 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; |
| |
264 | ····if-eqz·p1,·:cond_2 | 264 | ····if-eqz·p1,·:cond_2 |
| |
265 | ····.line·185 | 265 | ····.line·184 |
266 | ····invoke-interface·{v0},·Ljava/util/List;->size()I | 266 | ····invoke-interface·{v0},·Ljava/util/List;->size()I |
| |
267 | ····move-result·p1 | 267 | ····move-result·p1 |
| |
268 | ····const/4·v2,·0x0 | 268 | ····const/4·v2,·0x0 |
| |
269 | ····:goto_1 | 269 | ····:goto_1 |
270 | ····if-ge·v2,·p1,·:cond_2 | 270 | ····if-ge·v2,·p1,·:cond_2 |
| |
271 | ····.line·187 | 271 | ····.line·186 |
272 | ····invoke-interface·{v0,·v2},·Ljava/util/List;->get(I)Ljava/lang/Object; | 272 | ····invoke-interface·{v0,·v2},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
273 | ····move-result-object·v3 | 273 | ····move-result-object·v3 |
| |
274 | ····check-cast·v3,·Landroid/content/pm/PackageInfo; | 274 | ····check-cast·v3,·Landroid/content/pm/PackageInfo; |
| |
275 | ····.line·188 | 275 | ····.line·187 |
276 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; | 276 | ····iget-object·v4,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; |
| |
277 | ····iget-object·v5,·v3,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; | 277 | ····iget-object·v5,·v3,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; |
| |
278 | ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 278 | ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
279 | ····move-result·v4 | 279 | ····move-result·v4 |
| |
280 | ····if-eqz·v4,·:cond_1 | 280 | ····if-eqz·v4,·:cond_1 |
| |
281 | ····.line·189 | 281 | ····.line·188 |
282 | ····new-instance·p0,·Ljava/util/ArrayList; | 282 | ····new-instance·p0,·Ljava/util/ArrayList; |
| |
283 | ····invoke-direct·{p0,·v1},·Ljava/util/ArrayList;-><init>(I)V | 283 | ····invoke-direct·{p0,·v1},·Ljava/util/ArrayList;-><init>(I)V |
| |
284 | ····.line·190 | 284 | ····.line·189 |
285 | ····invoke-interface·{p0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 285 | ····invoke-interface·{p0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
286 | ····return-object·p0 | 286 | ····return-object·p0 |
| |
287 | ····:cond_1 | 287 | ····:cond_1 |
288 | ····add-int/lit8·v2,·v2,·0x1 | 288 | ····add-int/lit8·v2,·v2,·0x1 |
| |
289 | ····goto·:goto_1 | 289 | ····goto·:goto_1 |
| |
290 | ····:cond_2 | 290 | ····:cond_2 |
291 | ····return-object·v0 | 291 | ····return-object·v0 |
| |
292 | ····.line·197 | 292 | ····.line·196 |
293 | ····:cond_3 | 293 | ····:cond_3 |
294 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I | 294 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I |
| |
295 | ····move-result·v0 | 295 | ····move-result·v0 |
| |
296 | ····.line·198 | 296 | ····.line·197 |
297 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; | 297 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPackageName:Ljava/lang/String; |
| |
298 | ····if-nez·v2,·:cond_4 | 298 | ····if-nez·v2,·:cond_4 |
| |
299 | ····.line·199 | 299 | ····.line·198 |
300 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 300 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
301 | ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I | 301 | ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I |
| |
302 | ····move-result·p1 | 302 | ····move-result·p1 |
| |
303 | ····invoke-virtual·{p0,·v0,·p1},·Landroid/content/pm/PackageManager;->getInstalledPackagesAsUser(II)Ljava/util/List; | 303 | ····invoke-virtual·{p0,·v0,·p1},·Landroid/content/pm/PackageManager;->getInstalledPackagesAsUser(II)Ljava/util/List; |
| |
304 | ····move-result-object·p0 | 304 | ····move-result-object·p0 |
| |
305 | ····return-object·p0 | 305 | ····return-object·p0 |
| |
306 | ····.line·202 | 306 | ····.line·201 |
307 | ····:cond_4 | 307 | ····:cond_4 |
308 | ····:try_start_0 | 308 | ····:try_start_0 |
309 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 309 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
310 | ····invoke-virtual·{p0,·v2,·v0},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; | 310 | ····invoke-virtual·{p0,·v2,·v0},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; |
| |
311 | ····move-result-object·p0 | 311 | ····move-result-object·p0 |
| |
312 | ····.line·203 | 312 | ····.line·202 |
313 | ····new-instance·p1,·Ljava/util/ArrayList; | 313 | ····new-instance·p1,·Ljava/util/ArrayList; |
| |
314 | ····invoke-direct·{p1,·v1},·Ljava/util/ArrayList;-><init>(I)V | 314 | ····invoke-direct·{p1,·v1},·Ljava/util/ArrayList;-><init>(I)V |
| |
315 | ····.line·204 | 315 | ····.line·203 |
316 | ····invoke-interface·{p1,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 316 | ····invoke-interface·{p1,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
317 | ····:try_end_0 | 317 | ····:try_end_0 |
318 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 318 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
319 | ····return-object·p1 | 319 | ····return-object·p1 |
| |
320 | ····.line·207 | 320 | ····.line·206 |
321 | ····:catch_0 | 321 | ····:catch_0 |
322 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 322 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
323 | ····move-result-object·p0 | 323 | ····move-result-object·p0 |
| |
324 | ····return-object·p0 | 324 | ····return-object·p0 |
325 | .end·method | 325 | .end·method |
| |
326 | .method·private·static·getPackageQueryFlags()I | 326 | .method·private·static·getPackageQueryFlags()I |
327 | ····.locals·1 | 327 | ····.locals·1 |
| |
328 | ····.line·621 | 328 | ····.line·568 |
329 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z | 329 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z |
| |
330 | ····move-result·v0 | 330 | ····move-result·v0 |
| |
331 | ····if-eqz·v0,·:cond_0 | 331 | ····if-eqz·v0,·:cond_0 |
| |
332 | ····const·v0,·-0x7ffff000 | 332 | ····const·v0,·-0x7ffff000 |
Offset 399, 49 lines modified | Offset 399, 49 lines modified |
399 | .method·private·loadGroupInfo()V | 399 | .method·private·loadGroupInfo()V |
400 | ····.locals·4 | 400 | ····.locals·4 |
| |
401 | ····const-string·v0,·"PermissionApps" | 401 | ····const-string·v0,·"PermissionApps" |
| |
402 | ····const/4·v1,·0x0 | 402 | ····const/4·v1,·0x0 |
| |
403 | ····.line·331 | 403 | ····.line·321 |
404 | ····:try_start_0 | 404 | ····:try_start_0 |
405 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 405 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
406 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 406 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
407 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/content/pm/PackageManager;->getPermissionGroupInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionGroupInfo; | 407 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/content/pm/PackageManager;->getPermissionGroupInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionGroupInfo; |
| |
408 | ····move-result-object·v0 | 408 | ····move-result-object·v0 |
409 | ····:try_end_0 | 409 | ····:try_end_0 |
410 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 410 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
411 | ····goto·:goto_0 | 411 | ····goto·:goto_0 |
| |
412 | ····.line·334 | 412 | ····.line·324 |
413 | ····:catch_0 | 413 | ····:catch_0 |
414 | ····:try_start_1 | 414 | ····:try_start_1 |
415 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 415 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
416 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 416 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
417 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/content/pm/PackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionInfo; | 417 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/content/pm/PackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionInfo; |
| |
418 | ····move-result-object·v1 | 418 | ····move-result-object·v1 |
| |
419 | ····.line·335 | 419 | ····.line·325 |
420 | ····iget·v2,·v1,·Landroid/content/pm/PermissionInfo;->protectionLevel:I | 420 | ····iget·v2,·v1,·Landroid/content/pm/PermissionInfo;->protectionLevel:I |
| |
421 | ····and-int/lit8·v2,·v2,·0xf | 421 | ····and-int/lit8·v2,·v2,·0xf |
| |
422 | ····const/4·v3,·0x1 | 422 | ····const/4·v3,·0x1 |
| |
423 | ····if-eq·v2,·v3,·:cond_0 | 423 | ····if-eq·v2,·v3,·:cond_0 |
| |
424 | ····.line·337 | 424 | ····.line·327 |
425 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 425 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
426 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 426 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
427 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 427 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
428 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 428 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 459, 104 lines modified | Offset 459, 104 lines modified |
459 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1 | 459 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1 |
| |
460 | ····return-void | 460 | ····return-void |
| |
461 | ····:cond_0 | 461 | ····:cond_0 |
462 | ····move-object·v0,·v1 | 462 | ····move-object·v0,·v1 |
| |
463 | ····.line·346 | 463 | ····.line·336 |
464 | ····:goto_0 | 464 | ····:goto_0 |
465 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 465 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
466 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PackageItemInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; | 466 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PackageItemInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; |
| |
467 | ····move-result-object·v1 | 467 | ····move-result-object·v1 |
| |
468 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mLabel:Ljava/lang/CharSequence; | 468 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mLabel:Ljava/lang/CharSequence; |
| |
469 | ····.line·347 | 469 | ····.line·337 |
470 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 470 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
471 | ····const/4·v2,·0x0 | 471 | ····const/4·v2,·0x0 |
| |
472 | ····const/4·v3,·0x5 | 472 | ····const/4·v3,·0x5 |
| |
473 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Landroid/content/pm/PackageItemInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; | 473 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Landroid/content/pm/PackageItemInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; |
| |
474 | ····move-result-object·v1 | 474 | ····move-result-object·v1 |
| |
475 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mFullLabel:Ljava/lang/CharSequence; | 475 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mFullLabel:Ljava/lang/CharSequence; |
| |
476 | ····.line·349 | 476 | ····.line·339 |
477 | ····iget·v1,·v0,·Landroid/content/pm/PackageItemInfo;->icon:I | 477 | ····iget·v1,·v0,·Landroid/content/pm/PackageItemInfo;->icon:I |
| |
478 | ····if-eqz·v1,·:cond_1 | 478 | ····if-eqz·v1,·:cond_1 |
| |
479 | ····.line·350 | 479 | ····.line·340 |
480 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 480 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
481 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PackageItemInfo;->loadUnbadgedIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable; | 481 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PackageItemInfo;->loadUnbadgedIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable; |
| |
482 | ····move-result-object·v1 | 482 | ····move-result-object·v1 |
| |
483 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; | 483 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
484 | ····goto·:goto_1 | 484 | ····goto·:goto_1 |
| |
485 | ····.line·352 | 485 | ····.line·342 |
486 | ····:cond_1 | 486 | ····:cond_1 |
487 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 487 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
488 | ····const·v2,·0x7f0800c8 | 488 | ····const·v2,·0x7f0800c8 |
| |
489 | ····invoke-virtual·{v1,·v2},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 489 | ····invoke-virtual·{v1,·v2},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
490 | ····move-result-object·v1 | 490 | ····move-result-object·v1 |
| |
491 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; | 491 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
492 | ····.line·354 | 492 | ····.line·344 |
493 | ····:goto_1 | 493 | ····:goto_1 |
494 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 494 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
495 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; | 495 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
496 | ····const·v3,·0x1010429 | 496 | ····const·v3,·0x1010429 |
| |
497 | ····invoke-static·{v1,·v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable; | 497 | ····invoke-static·{v1,·v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->applyTint(Landroid/content/Context;Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable; |
| |
498 | ····move-result-object·v1 | 498 | ····move-result-object·v1 |
| |
499 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; | 499 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
500 | ····.line·355 | 500 | ····.line·345 |
501 | ····instance-of·v1,·v0,·Landroid/content/pm/PermissionGroupInfo; | 501 | ····instance-of·v1,·v0,·Landroid/content/pm/PermissionGroupInfo; |
| |
502 | ····if-eqz·v1,·:cond_2 | 502 | ····if-eqz·v1,·:cond_2 |
| |
503 | ····.line·356 | 503 | ····.line·346 |
504 | ····check-cast·v0,·Landroid/content/pm/PermissionGroupInfo; | 504 | ····check-cast·v0,·Landroid/content/pm/PermissionGroupInfo; |
| |
505 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 505 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
506 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PermissionGroupInfo;->loadDescription(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; | 506 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PermissionGroupInfo;->loadDescription(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; |
| |
507 | ····move-result-object·v0 | 507 | ····move-result-object·v0 |
| |
508 | ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mDescription:Ljava/lang/CharSequence; | 508 | ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mDescription:Ljava/lang/CharSequence; |
| |
509 | ····goto·:goto_2 | 509 | ····goto·:goto_2 |
| |
510 | ····.line·357 | 510 | ····.line·347 |
511 | ····:cond_2 | 511 | ····:cond_2 |
512 | ····instance-of·v1,·v0,·Landroid/content/pm/PermissionInfo; | 512 | ····instance-of·v1,·v0,·Landroid/content/pm/PermissionInfo; |
| |
513 | ····if-eqz·v1,·:cond_3 | 513 | ····if-eqz·v1,·:cond_3 |
| |
514 | ····.line·358 | 514 | ····.line·348 |
515 | ····check-cast·v0,·Landroid/content/pm/PermissionInfo; | 515 | ····check-cast·v0,·Landroid/content/pm/PermissionInfo; |
| |
516 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 516 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
517 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PermissionInfo;->loadDescription(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; | 517 | ····invoke-virtual·{v0,·v1},·Landroid/content/pm/PermissionInfo;->loadDescription(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; |
| |
518 | ····move-result-object·v0 | 518 | ····move-result-object·v0 |
Offset 566, 15 lines modified | Offset 566, 15 lines modified |
566 | ····:cond_3 | 566 | ····:cond_3 |
567 | ····:goto_2 | 567 | ····:goto_2 |
568 | ····return-void | 568 | ····return-void |
| |
569 | ····:catch_1 | 569 | ····:catch_1 |
570 | ····move-exception·v1 | 570 | ····move-exception·v1 |
| |
571 | ····.line·342 | 571 | ····.line·332 |
572 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 572 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
573 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | 573 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
| |
574 | ····const-string·v3,·"Can\'t·find·permission:·" | 574 | ····const-string·v3,·"Can\'t·find·permission:·" |
| |
575 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 575 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 589, 91 lines modified | Offset 589, 91 lines modified |
| |
589 | ····invoke-static·{v0,·p0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 589 | ····invoke-static·{v0,·p0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
590 | ····return-void | 590 | ····return-void |
591 | .end·method | 591 | .end·method |
| |
592 | .method·private·loadPermissionApps()Ljava/util/List; | 592 | .method·private·loadPermissionApps()Ljava/util/List; |
593 | ····.locals·30 | 593 | ····.locals·29 |
594 | ····.annotation·system·Ldalvik/annotation/Signature; | 594 | ····.annotation·system·Ldalvik/annotation/Signature; |
595 | ········value·=·{ | 595 | ········value·=·{ |
596 | ············"()", | 596 | ············"()", |
597 | ············"Ljava/util/List<", | 597 | ············"Ljava/util/List<", |
598 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", | 598 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", |
599 | ············">;" | 599 | ············">;" |
600 | ········} | 600 | ········} |
601 | ····.end·annotation | 601 | ····.end·annotation |
| |
602 | ····move-object/from16·v0,·p0 | 602 | ····move-object/from16·v0,·p0 |
| |
603 | ····.line·213 | 603 | ····.line·212 |
604 | ····iget-object·v1,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 604 | ····iget-object·v1,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
605 | ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 605 | ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
606 | ····invoke-static·{v1,·v2},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupInfo(Ljava/lang/String;Landroid/content/Context;)Landroid/content/pm/PackageItemInfo; | 606 | ····invoke-static·{v1,·v2},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupInfo(Ljava/lang/String;Landroid/content/Context;)Landroid/content/pm/PackageItemInfo; |
| |
607 | ····move-result-object·v1 | 607 | ····move-result-object·v1 |
| |
608 | ····if-nez·v1,·:cond_0 | 608 | ····if-nez·v1,·:cond_0 |
| |
609 | ····.line·215 | 609 | ····.line·214 |
610 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 610 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
611 | ····move-result-object·v0 | 611 | ····move-result-object·v0 |
| |
612 | ····return-object·v0 | 612 | ····return-object·v0 |
| |
613 | ····.line·218 | 613 | ····.line·217 |
614 | ····:cond_0 | 614 | ····:cond_0 |
615 | ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; | 615 | ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mGroupName:Ljava/lang/String; |
| |
616 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 616 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
617 | ····invoke-static·{v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupPermissionInfos(Ljava/lang/String;Landroid/content/Context;)Ljava/util/List; | 617 | ····invoke-static·{v2,·v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupPermissionInfos(Ljava/lang/String;Landroid/content/Context;)Ljava/util/List; |
| |
618 | ····move-result-object·v2 | 618 | ····move-result-object·v2 |
| |
619 | ····if-nez·v2,·:cond_1 | 619 | ····if-nez·v2,·:cond_1 |
| |
620 | ····.line·220 | 620 | ····.line·219 |
621 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 621 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
622 | ····move-result-object·v0 | 622 | ····move-result-object·v0 |
| |
623 | ····return-object·v0 | 623 | ····return-object·v0 |
| |
624 | ····.line·222 | 624 | ····.line·221 |
625 | ····:cond_1 | 625 | ····:cond_1 |
626 | ····new-instance·v10,·Ljava/util/ArrayList; | 626 | ····new-instance·v10,·Ljava/util/ArrayList; |
| |
627 | ····invoke-interface·{v2},·Ljava/util/List;->size()I | 627 | ····invoke-interface·{v2},·Ljava/util/List;->size()I |
| |
628 | ····move-result·v3 | 628 | ····move-result·v3 |
| |
629 | ····invoke-direct·{v10,·v3},·Ljava/util/ArrayList;-><init>(I)V | 629 | ····invoke-direct·{v10,·v3},·Ljava/util/ArrayList;-><init>(I)V |
| |
630 | ····const/4·v3,·0x0 | 630 | ····const/4·v3,·0x0 |
| |
631 | ····.line·223 | 631 | ····.line·222 |
632 | ····:goto_0 | 632 | ····:goto_0 |
633 | ····invoke-interface·{v2},·Ljava/util/List;->size()I | 633 | ····invoke-interface·{v2},·Ljava/util/List;->size()I |
| |
634 | ····move-result·v4 | 634 | ····move-result·v4 |
| |
635 | ····if-ge·v3,·v4,·:cond_3 | 635 | ····if-ge·v3,·v4,·:cond_3 |
| |
636 | ····.line·224 | 636 | ····.line·223 |
637 | ····invoke-interface·{v2,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object; | 637 | ····invoke-interface·{v2,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
638 | ····move-result-object·v4 | 638 | ····move-result-object·v4 |
| |
639 | ····check-cast·v4,·Landroid/content/pm/PermissionInfo; | 639 | ····check-cast·v4,·Landroid/content/pm/PermissionInfo; |
| |
640 | ····.line·225 | 640 | ····.line·224 |
641 | ····iget·v5,·v4,·Landroid/content/pm/PermissionInfo;->protectionLevel:I | 641 | ····iget·v5,·v4,·Landroid/content/pm/PermissionInfo;->protectionLevel:I |
| |
642 | ····and-int/lit8·v5,·v5,·0xf | 642 | ····and-int/lit8·v5,·v5,·0xf |
| |
643 | ····const/4·v6,·0x1 | 643 | ····const/4·v6,·0x1 |
| |
644 | ····if-ne·v5,·v6,·:cond_2 | 644 | ····if-ne·v5,·v6,·:cond_2 |
Offset 686, 139 lines modified | Offset 686, 139 lines modified |
| |
686 | ····if-eqz·v6,·:cond_2 | 686 | ····if-eqz·v6,·:cond_2 |
| |
687 | ····and-int/lit8·v5,·v5,·0x2 | 687 | ····and-int/lit8·v5,·v5,·0x2 |
| |
688 | ····if-nez·v5,·:cond_2 | 688 | ····if-nez·v5,·:cond_2 |
| |
689 | ····.line·229 | 689 | ····.line·228 |
690 | ····invoke-interface·{v10,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 690 | ····invoke-interface·{v10,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
691 | ····:cond_2 | 691 | ····:cond_2 |
692 | ····add-int/lit8·v3,·v3,·0x1 | 692 | ····add-int/lit8·v3,·v3,·0x1 |
| |
693 | ····goto·:goto_0 | 693 | ····goto·:goto_0 |
| |
694 | ····.line·233 | 694 | ····.line·232 |
695 | ····:cond_3 | 695 | ····:cond_3 |
696 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 696 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
697 | ····invoke-virtual·{v3},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 697 | ····invoke-virtual·{v3},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
698 | ····move-result-object·v3 | 698 | ····move-result-object·v3 |
| |
699 | ····.line·234 | 699 | ····.line·233 |
700 | ····invoke-virtual·{v1,·v3},·Landroid/content/pm/PackageItemInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; | 700 | ····invoke-virtual·{v1,·v3},·Landroid/content/pm/PackageItemInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; |
| |
701 | ····move-result-object·v12 | 701 | ····move-result-object·v12 |
| |
702 | ····const/4·v4,·0x0 | 702 | ····const/4·v4,·0x0 |
| |
703 | ····const/4·v5,·0x5 | 703 | ····const/4·v5,·0x5 |
| |
704 | ····.line·235 | 704 | ····.line·234 |
705 | ····invoke-virtual·{v1,·v3,·v4,·v5},·Landroid/content/pm/PackageItemInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; | 705 | ····invoke-virtual·{v1,·v3,·v4,·v5},·Landroid/content/pm/PackageItemInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; |
| |
706 | ····move-result-object·v13 | 706 | ····move-result-object·v13 |
| |
707 | ····.line·238 | 707 | ····.line·237 |
708 | ····new-instance·v14,·Ljava/util/ArrayList; | 708 | ····new-instance·v14,·Ljava/util/ArrayList; |
| |
709 | ····invoke-direct·{v14},·Ljava/util/ArrayList;-><init>()V | 709 | ····invoke-direct·{v14},·Ljava/util/ArrayList;-><init>()V |
| |
710 | ····.line·240 | 710 | ····.line·239 |
711 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 711 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
712 | ····const-class·v4,·Landroid/os/UserManager; | 712 | ····const-class·v4,·Landroid/os/UserManager; |
| |
713 | ····invoke-virtual·{v3,·v4},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 713 | ····invoke-virtual·{v3,·v4},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
714 | ····move-result-object·v3 | 714 | ····move-result-object·v3 |
| |
715 | ····check-cast·v3,·Landroid/os/UserManager; | 715 | ····check-cast·v3,·Landroid/os/UserManager; |
| |
716 | ····.line·241 | 716 | ····.line·240 |
717 | ····invoke-virtual·{v3},·Landroid/os/UserManager;->getUserProfiles()Ljava/util/List; | 717 | ····invoke-virtual·{v3},·Landroid/os/UserManager;->getUserProfiles()Ljava/util/List; |
| |
718 | ····move-result-object·v3 | 718 | ····move-result-object·v3 |
| |
719 | ····invoke-interface·{v3},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 719 | ····invoke-interface·{v3},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
720 | ····move-result-object·v15 | 720 | ····move-result-object·v15 |
| |
721 | ····:cond_4 | 721 | ····:cond_4 |
722 | ····invoke-interface·{v15},·Ljava/util/Iterator;->hasNext()Z | 722 | ····invoke-interface·{v15},·Ljava/util/Iterator;->hasNext()Z |
| |
723 | ····move-result·v3 | 723 | ····move-result·v3 |
| |
724 | ····if-eqz·v3,·:cond_12 | 724 | ····if-eqz·v3,·:cond_10 |
| |
725 | ····invoke-interface·{v15},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 725 | ····invoke-interface·{v15},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
726 | ····move-result-object·v3 | 726 | ····move-result-object·v3 |
| |
727 | ····move-object·v9,·v3 | 727 | ····move-object·v9,·v3 |
| |
728 | ····check-cast·v9,·Landroid/os/UserHandle; | 728 | ····check-cast·v9,·Landroid/os/UserHandle; |
| |
729 | ····.line·242 | 729 | ····.line·241 |
730 | ····invoke-direct·{v0,·v9},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageInfos(Landroid/os/UserHandle;)Ljava/util/List; | 730 | ····invoke-direct·{v0,·v9},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageInfos(Landroid/os/UserHandle;)Ljava/util/List; |
| |
731 | ····move-result-object·v8 | 731 | ····move-result-object·v8 |
| |
732 | ····.line·243 | 732 | ····.line·242 |
733 | ····invoke-interface·{v8},·Ljava/util/List;->size()I | 733 | ····invoke-interface·{v8},·Ljava/util/List;->size()I |
| |
734 | ····move-result·v7 | 734 | ····move-result·v7 |
| |
735 | ····const/4·v6,·0x0 | 735 | ····const/4·v6,·0x0 |
| |
736 | ····:goto_1 | 736 | ····:goto_1 |
737 | ····if-ge·v6,·v7,·:cond_4 | 737 | ····if-ge·v6,·v7,·:cond_4 |
| |
738 | ····.line·245 | 738 | ····.line·244 |
739 | ····invoke-interface·{v8,·v6},·Ljava/util/List;->get(I)Ljava/lang/Object; | 739 | ····invoke-interface·{v8,·v6},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
740 | ····move-result-object·v3 | 740 | ····move-result-object·v3 |
| |
741 | ····move-object·v5,·v3 | 741 | ····move-object·v5,·v3 |
| |
742 | ····check-cast·v5,·Landroid/content/pm/PackageInfo; | 742 | ····check-cast·v5,·Landroid/content/pm/PackageInfo; |
| |
743 | ····.line·246 | 743 | ····.line·245 |
744 | ····iget-object·v3,·v5,·Landroid/content/pm/PackageInfo;->requestedPermissions:[Ljava/lang/String; | 744 | ····iget-object·v3,·v5,·Landroid/content/pm/PackageInfo;->requestedPermissions:[Ljava/lang/String; |
| |
745 | ····if-nez·v3,·:cond_6 | 745 | ····if-nez·v3,·:cond_6 |
| |
746 | ····:cond_5 | 746 | ····:cond_5 |
747 | ····move/from16·v16,·v6 | 747 | ····move/from16·v16,·v6 |
| |
748 | ····move/from16·v20,·v7 | 748 | ····move/from16·v20,·v7 |
| |
749 | ····move-object/from16·v21,·v8 | 749 | ····move-object/from16·v21,·v8 |
| |
750 | ····move-object/from16·v22,·v9 | 750 | ····move-object/from16·v22,·v9 |
| |
751 | ····goto/16·:goto_c | 751 | ····goto/16·:goto_a |
| |
752 | ····:cond_6 | 752 | ····:cond_6 |
753 | ····const/4·v4,·0x0 | 753 | ····const/4·v4,·0x0 |
| |
754 | ····.line·250 | 754 | ····.line·249 |
755 | ····:goto_2 | 755 | ····:goto_2 |
756 | ····iget-object·v3,·v5,·Landroid/content/pm/PackageInfo;->requestedPermissions:[Ljava/lang/String; | 756 | ····iget-object·v3,·v5,·Landroid/content/pm/PackageInfo;->requestedPermissions:[Ljava/lang/String; |
| |
757 | ····array-length·v11,·v3 | 757 | ····array-length·v11,·v3 |
| |
758 | ····if-ge·v4,·v11,·:cond_5 | 758 | ····if-ge·v4,·v11,·:cond_5 |
| |
759 | ····.line·251 | 759 | ····.line·250 |
760 | ····aget-object·v3,·v3,·v4 | 760 | ····aget-object·v3,·v3,·v4 |
| |
761 | ····.line·255 | 761 | ····.line·254 |
762 | ····invoke-interface·{v10},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 762 | ····invoke-interface·{v10},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
763 | ····move-result-object·v11 | 763 | ····move-result-object·v11 |
| |
764 | ····:goto_3 | 764 | ····:goto_3 |
765 | ····invoke-interface·{v11},·Ljava/util/Iterator;->hasNext()Z | 765 | ····invoke-interface·{v11},·Ljava/util/Iterator;->hasNext()Z |
| |
Offset 836, 15 lines modified | Offset 836, 15 lines modified |
| |
836 | ····move-object/from16·v4,·v16 | 836 | ····move-object/from16·v4,·v16 |
| |
837 | ····check-cast·v4,·Landroid/content/pm/PermissionInfo; | 837 | ····check-cast·v4,·Landroid/content/pm/PermissionInfo; |
| |
838 | ····move/from16·v16,·v6 | 838 | ····move/from16·v16,·v6 |
| |
839 | ····.line·256 | 839 | ····.line·255 |
840 | ····iget-object·v6,·v4,·Landroid/content/pm/PermissionInfo;->name:Ljava/lang/String; | 840 | ····iget-object·v6,·v4,·Landroid/content/pm/PermissionInfo;->name:Ljava/lang/String; |
| |
841 | ····invoke-virtual·{v3,·v6},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 841 | ····invoke-virtual·{v3,·v6},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
842 | ····move-result·v6 | 842 | ····move-result·v6 |
| |
843 | ····if-eqz·v6,·:cond_7 | 843 | ····if-eqz·v6,·:cond_7 |
Offset 874, 15 lines modified | Offset 874, 15 lines modified |
| |
874 | ····move-object/from16·v21,·v8 | 874 | ····move-object/from16·v21,·v8 |
| |
875 | ····move-object/from16·v22,·v9 | 875 | ····move-object/from16·v22,·v9 |
| |
876 | ····goto·:goto_5 | 876 | ····goto·:goto_5 |
| |
877 | ····.line·266 | 877 | ····.line·265 |
878 | ····:cond_9 | 878 | ····:cond_9 |
879 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 879 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
880 | ····const/4·v11,·0x0 | 880 | ····const/4·v11,·0x0 |
| |
881 | ····move-object·v4,·v5 | 881 | ····move-object·v4,·v5 |
| |
Offset 923, 69 lines modified | Offset 923, 69 lines modified |
| |
923 | ····move-object/from16·v8,·v21 | 923 | ····move-object/from16·v8,·v21 |
| |
924 | ····move-object/from16·v9,·v22 | 924 | ····move-object/from16·v9,·v22 |
| |
925 | ····goto·:goto_2 | 925 | ····goto·:goto_2 |
| |
926 | ····.line·274 | 926 | ····.line·273 |
927 | ····:cond_a | 927 | ····:cond_a |
928 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppDataCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache; | 928 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppDataCache:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache; |
| |
929 | ····if-eqz·v3,·:cond_b | 929 | ····if-eqz·v3,·:cond_b |
| |
930 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z | 930 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z |
| |
931 | ····if-nez·v4,·:cond_b | 931 | ····if-nez·v4,·:cond_b |
| |
932 | ····.line·275 | 932 | ····.line·274 |
933 | ····invoke-virtual/range·{v22·..·v22},·Landroid/os/UserHandle;->getIdentifier()I | 933 | ····invoke-virtual/range·{v22·..·v22},·Landroid/os/UserHandle;->getIdentifier()I |
| |
934 | ····move-result·v4 | 934 | ····move-result·v4 |
| |
935 | ····move-object/from16·v5,·v19 | 935 | ····move-object/from16·v5,·v19 |
| |
936 | ····iget-object·v6,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 936 | ····iget-object·v6,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
| |
937 | ····invoke-virtual·{v3,·v4,·v6},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;->getAppData(ILandroid/content/pm/ApplicationInfo;)Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache$AppData; | 937 | ····invoke-virtual·{v3,·v4,·v6},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache;->getAppData(ILandroid/content/pm/ApplicationInfo;)Landroid/util/Pair; |
| |
938 | ····move-result-object·v3 | 938 | ····move-result-object·v3 |
| |
939 | ····goto·:goto_6 | 939 | ····goto·:goto_6 |
| |
940 | ····:cond_b | 940 | ····:cond_b |
941 | ····move-object/from16·v5,·v19 | 941 | ····move-object/from16·v5,·v19 |
| |
942 | ····move-object/from16·v3,·v17 | 942 | ····move-object/from16·v3,·v17 |
| |
943 | ····.line·280 | 943 | ····.line·279 |
944 | ····:goto_6 | 944 | ····:goto_6 |
945 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z | 945 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z |
| |
946 | ····if-eqz·v4,·:cond_c | 946 | ····if-eqz·v4,·:cond_c |
| |
947 | ····.line·281 | 947 | ····.line·280 |
948 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; | 948 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; |
| |
949 | ····:goto_7 | 949 | ····:goto_7 |
950 | ····move-object/from16·v26,·v4 | 950 | ····move-object/from16·v26,·v4 |
| |
951 | ····goto·:goto_8 | 951 | ····goto·:goto_8 |
| |
952 | ····:cond_c | 952 | ····:cond_c |
953 | ····if-eqz·v3,·:cond_d | 953 | ····if-eqz·v3,·:cond_d |
| |
954 | ····.line·283 | 954 | ····.line·282 |
955 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache$AppData;->getLabel()Ljava/lang/String; | 955 | ····iget-object·v4,·v3,·Landroid/util/Pair;->first:Ljava/lang/Object; |
| |
956 | ····move-result-object·v4 | 956 | ····check-cast·v4,·Ljava/lang/String; |
| |
957 | ····goto·:goto_7 | 957 | ····goto·:goto_7 |
| |
958 | ····.line·285 | 958 | ····.line·284 |
959 | ····:cond_d | 959 | ····:cond_d |
960 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 960 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
| |
961 | ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; | 961 | ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPm:Landroid/content/pm/PackageManager; |
| |
962 | ····invoke-virtual·{v4,·v6},·Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; | 962 | ····invoke-virtual·{v4,·v6},·Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence; |
| |
Offset 993, 116 lines modified | Offset 993, 87 lines modified |
| |
993 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 993 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
994 | ····move-result-object·v4 | 994 | ····move-result-object·v4 |
| |
995 | ····goto·:goto_7 | 995 | ····goto·:goto_7 |
| |
996 | ····.line·289 | 996 | ····.line·288 |
997 | ····:goto_8 | 997 | ····:goto_8 |
998 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z | 998 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z |
| |
999 | ····if-nez·v4,·:cond_f | 999 | ····if-nez·v4,·:cond_f |
| |
1000 | ····if-eqz·v3,·:cond_e | 1000 | ····if-eqz·v3,·:cond_e |
| |
1001 | ····.line·291 | 1001 | ····.line·290 |
1002 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache$AppData;->getIcon()Landroid/graphics/drawable/Drawable; | 1002 | ····iget-object·v3,·v3,·Landroid/util/Pair;->second:Ljava/lang/Object; |
| |
1003 | ····move-result-object·v4 | 1003 | ····move-object/from16·v17,·v3 |
| |
| 1004 | ····check-cast·v17,·Landroid/graphics/drawable/Drawable; |
| |
1004 | ····goto·:goto_9 | 1005 | ····goto·:goto_9 |
| |
1005 | ····.line·293 | 1006 | ····.line·292 |
1006 | ····:cond_e | 1007 | ····:cond_e |
1007 | ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 1008 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
1008 | ····iget-object·v6,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | |
| |
1009 | ····invoke-static·{v4,·v6},·Lcom/android/permissioncontroller/permission/utils/Utils;->getBadgedIcon(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Landroid/graphics/drawable/Drawable; | |
| |
1010 | ····move-result-object·v4 | 1009 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
| |
| 1010 | ····invoke-static·{v3,·v4},·Lcom/android/permissioncontroller/permission/utils/Utils;->getBadgedIcon(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Landroid/graphics/drawable/Drawable; |
1011 | ····:goto_9 | |
1012 | ····move-object/from16·v27,·v4 | |
| |
1013 | ····goto·:goto_a | 1011 | ····move-result-object·v17 |
| |
1014 | ····:cond_f | 1012 | ····:cond_f |
| 1013 | ····:goto_9 |
1015 | ····move-object/from16·v27,·v17 | 1014 | ····move-object/from16·v27,·v17 |
| |
1016 | ····.line·298 | 1015 | ····.line·296 |
1017 | ····:goto_a | |
1018 | ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z | |
| |
1019 | ····if-nez·v4,·:cond_11 | |
| |
1020 | ····if-eqz·v3,·:cond_10 | |
| |
1021 | ····.line·300 | |
1022 | ····invoke-virtual·{v3},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$AppDataCache$AppData;->getAttributionLabels()Ljava/util/Map; | |
| |
1023 | ····move-result-object·v17 | |
| |
1024 | ····goto·:goto_b | |
| |
1025 | ····.line·302 | |
1026 | ····:cond_10 | |
1027 | ····iget-object·v3,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | |
| |
1028 | ····invoke-static·{v3,·v5},·Lcom/android/permissioncontroller/permission/utils/SubattributionUtils;->getAttributionLabels(Landroid/content/Context;Landroid/content/pm/PackageInfo;)Ljava/util/Map; | |
| |
1029 | ····move-result-object·v17 | |
| |
1030 | ····:cond_11 | |
1031 | ····:goto_b | |
1032 | ····move-object/from16·v29,·v17 | |
| |
1033 | ····.line·306 | |
1034 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; | 1016 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; |
| |
1035 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; | 1017 | ····iget-object·v4,·v5,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; |
| |
1036 | ····iget-object·v5,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 1018 | ····iget-object·v5,·v5,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
| |
1037 | ····move-object/from16·v23,·v3 | 1019 | ····move-object/from16·v23,·v3 |
| |
1038 | ····move-object/from16·v24,·v4 | 1020 | ····move-object/from16·v24,·v4 |
| |
1039 | ····move-object/from16·v28,·v5 | 1021 | ····move-object/from16·v28,·v5 |
| |
1040 | ····invoke-direct/range·{v23·..·v29},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;-><init>(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Landroid/content/pm/ApplicationInfo;Ljava/util/Map;)V | 1022 | ····invoke-direct/range·{v23·..·v28},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;-><init>(Ljava/lang/String;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Landroid/content/pm/ApplicationInfo;)V |
| |
1041 | ····.line·309 | 1023 | ····.line·299 |
1042 | ····invoke-virtual·{v14,·v3},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 1024 | ····invoke-virtual·{v14,·v3},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
1043 | ····:goto_c | 1025 | ····:goto_a |
1044 | ····add-int/lit8·v6,·v16,·0x1 | 1026 | ····add-int/lit8·v6,·v16,·0x1 |
| |
1045 | ····move/from16·v7,·v20 | 1027 | ····move/from16·v7,·v20 |
| |
1046 | ····move-object/from16·v8,·v21 | 1028 | ····move-object/from16·v8,·v21 |
| |
1047 | ····move-object/from16·v9,·v22 | 1029 | ····move-object/from16·v9,·v22 |
| |
1048 | ····goto/16·:goto_1 | 1030 | ····goto/16·:goto_1 |
| |
1049 | ····.line·315 | 1031 | ····.line·305 |
1050 | ····:cond_12 | 1032 | ····:cond_10 |
1051 | ····invoke-static·{v14},·Ljava/util/Collections;->sort(Ljava/util/List;)V | 1033 | ····invoke-static·{v14},·Ljava/util/Collections;->sort(Ljava/util/List;)V |
| |
1052 | ····return-object·v14 | 1034 | ····return-object·v14 |
1053 | .end·method | 1035 | .end·method |
| |
| |
1054 | #·virtual·methods | 1036 | #·virtual·methods |
1055 | .method·public·getApp(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; | 1037 | .method·public·getApp(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; |
1056 | ····.locals·0 | 1038 | ····.locals·0 |
| |
1057 | ····.line·161 | 1039 | ····.line·160 |
1058 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; | 1040 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mAppLookup:Landroid/util/ArrayMap; |
| |
1059 | ····invoke-virtual·{p0,·p1},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 1041 | ····invoke-virtual·{p0,·p1},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
| |
1060 | ····move-result-object·p0 | 1042 | ····move-result-object·p0 |
| |
1061 | ····check-cast·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; | 1043 | ····check-cast·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; |
Offset 1117, 42 lines modified | Offset 1088, 42 lines modified |
1117 | ············"()", | 1088 | ············"()", |
1118 | ············"Ljava/util/List<", | 1089 | ············"Ljava/util/List<", |
1119 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", | 1090 | ············"Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;", |
1120 | ············">;" | 1091 | ············">;" |
1121 | ········} | 1092 | ········} |
1122 | ····.end·annotation | 1093 | ····.end·annotation |
| |
1123 | ····.line·157 | 1094 | ····.line·156 |
1124 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; | 1095 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; |
| |
1125 | ····return-object·p0 | 1096 | ····return-object·p0 |
1126 | .end·method | 1097 | .end·method |
| |
1127 | .method·public·getDescription()Ljava/lang/CharSequence; | 1098 | .method·public·getDescription()Ljava/lang/CharSequence; |
1128 | ····.locals·0 | 1099 | ····.locals·0 |
| |
1129 | ····.line·177 | 1100 | ····.line·176 |
1130 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mDescription:Ljava/lang/CharSequence; | 1101 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mDescription:Ljava/lang/CharSequence; |
| |
1131 | ····return-object·p0 | 1102 | ····return-object·p0 |
1132 | .end·method | 1103 | .end·method |
| |
1133 | .method·public·getFullLabel()Ljava/lang/CharSequence; | 1104 | .method·public·getFullLabel()Ljava/lang/CharSequence; |
1134 | ····.locals·0 | 1105 | ····.locals·0 |
| |
1135 | ····.line·169 | 1106 | ····.line·168 |
1136 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mFullLabel:Ljava/lang/CharSequence; | 1107 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mFullLabel:Ljava/lang/CharSequence; |
| |
1137 | ····return-object·p0 | 1108 | ····return-object·p0 |
1138 | .end·method | 1109 | .end·method |
| |
1139 | .method·public·getGrantedCount()I | 1110 | .method·public·getGrantedCount()I |
1140 | ····.locals·5 | 1111 | ····.locals·5 |
| |
1141 | ····.line·120 | 1112 | ····.line·119 |
1142 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; | 1113 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mPermApps:Ljava/util/List; |
| |
1143 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 1114 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
1144 | ····move-result-object·v0 | 1115 | ····move-result-object·v0 |
| |
1145 | ····const/4·v1,·0x0 | 1116 | ····const/4·v1,·0x0 |
Offset 1167, 26 lines modified | Offset 1138, 26 lines modified |
| |
1167 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 1138 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
1168 | ····move-result-object·v2 | 1139 | ····move-result-object·v2 |
| |
1169 | ····check-cast·v2,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; | 1140 | ····check-cast·v2,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp; |
| |
1170 | ····.line·121 | 1141 | ····.line·120 |
1171 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getAppInfo()Landroid/content/pm/ApplicationInfo; | 1142 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getAppInfo()Landroid/content/pm/ApplicationInfo; |
| |
1172 | ····move-result-object·v3 | 1143 | ····move-result-object·v3 |
| |
1173 | ····iget-boolean·v3,·v3,·Landroid/content/pm/ApplicationInfo;->enabled:Z | 1144 | ····iget-boolean·v3,·v3,·Landroid/content/pm/ApplicationInfo;->enabled:Z |
| |
1174 | ····if-nez·v3,·:cond_1 | 1145 | ····if-nez·v3,·:cond_1 |
| |
1175 | ····goto·:goto_0 | 1146 | ····goto·:goto_0 |
| |
1176 | ····.line·124 | 1147 | ····.line·123 |
1177 | ····:cond_1 | 1148 | ····:cond_1 |
1178 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; | 1149 | ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mContext:Landroid/content/Context; |
| |
1179 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1150 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getPermissionGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
1180 | ····move-result-object·v4 | 1151 | ····move-result-object·v4 |
| |
Offset 1194, 29 lines modified | Offset 1165, 29 lines modified |
| |
1194 | ····move-result·v3 | 1165 | ····move-result·v3 |
| |
1195 | ····if-nez·v3,·:cond_2 | 1166 | ····if-nez·v3,·:cond_2 |
| |
1196 | ····goto·:goto_0 | 1167 | ····goto·:goto_0 |
| |
1197 | ····.line·127 | 1168 | ····.line·126 |
1198 | ····:cond_2 | 1169 | ····:cond_2 |
1199 | ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->access$100(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; | 1170 | ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->access$100(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;)Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
1200 | ····move-result-object·v3 | 1171 | ····move-result-object·v3 |
| |
1201 | ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->isGroupOrBgGroupUserSensitive(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z | 1172 | ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->isGroupOrBgGroupUserSensitive(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z |
| |
1202 | ····move-result·v3 | 1173 | ····move-result·v3 |
| |
1203 | ····if-nez·v3,·:cond_3 | 1174 | ····if-nez·v3,·:cond_3 |
| |
1204 | ····goto·:goto_0 | 1175 | ····goto·:goto_0 |
| |
1205 | ····.line·131 | 1176 | ····.line·130 |
1206 | ····:cond_3 | 1177 | ····:cond_3 |
1207 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->areRuntimePermissionsGranted()Z | 1178 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->areRuntimePermissionsGranted()Z |
| |
1208 | ····move-result·v2 | 1179 | ····move-result·v2 |
| |
1209 | ····if-eqz·v2,·:cond_0 | 1180 | ····if-eqz·v2,·:cond_0 |
Max diff block lines reached; 4596/39523 bytes (11.63%) of diff not shown.
|