Offset 82, 99 lines modifiedOffset 82, 99 lines modified
  
82 ····move-object·v1,·p182 ····move-object·v1,·p1
  
83 ····move-object·v2,·p283 ····move-object·v2,·p2
  
84 ····move-object·v4,·p384 ····move-object·v4,·p3
  
85 ····.line·7785 ····.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;)V86 ····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-void87 ····return-void
88 .end·method88 .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;)V89 .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·090 ····.locals·0
  
91 ····.line·8191 ····.line·80
92 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V92 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
93 ····.line·8293 ····.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·8395 ····.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·8497 ····.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·8599 ····.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·p1101 ····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·86103 ····.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·87105 ····.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·88107 ····.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·89109 ····.line·88
110 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadGroupInfo()V110 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->loadGroupInfo()V
  
111 ····return-void111 ····return-void
112 .end·method112 .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·0114 ····.locals·0
  
115 ····.line·53115 ····.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·p0117 ····move-result-object·p0
  
118 ····return-object·p0118 ····return-object·p0
119 .end·method119 .end·method
  
120 .method·static·synthetic·access$302(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Z)Z120 .method·static·synthetic·access$302(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Z)Z
121 ····.locals·0121 ····.locals·0
  
122 ····.line·53122 ····.line·52
123 ····iput-boolean·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mRefreshing:Z123 ····iput-boolean·p1,·p0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mRefreshing:Z
  
124 ····return·p1124 ····return·p1
125 .end·method125 .end·method
  
126 .method·static·synthetic·access$400(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Ljava/util/List;)V126 .method·static·synthetic·access$400(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;Ljava/util/List;)V
127 ····.locals·0127 ····.locals·0
  
128 ····.line·53128 ····.line·52
129 ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->createMap(Ljava/util/List;)V129 ····invoke-direct·{p0,·p1},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->createMap(Ljava/util/List;)V
  
130 ····return-void130 ····return-void
131 .end·method131 .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·0133 ····.locals·0
  
134 ····.line·53134 ····.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·p0136 ····return-object·p0
137 .end·method137 .end·method
  
138 .method·static·synthetic·access$600()I138 .method·static·synthetic·access$600()I
139 ····.locals·1139 ····.locals·1
  
140 ····.line·53140 ····.line·52
141 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I141 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I
  
142 ····move-result·v0142 ····move-result·v0
  
143 ····return·v0143 ····return·v0
144 .end·method144 .end·method
  
Offset 185, 22 lines modifiedOffset 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·annotation190 ····.end·annotation
  
191 ····.line·321191 ····.line·311
192 ····new-instance·v0,·Landroid/util/ArrayMap;192 ····new-instance·v0,·Landroid/util/ArrayMap;
  
193 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V193 ····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·322195 ····.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·v0197 ····move-result-object·v0
  
198 ····:goto_0198 ····:goto_0
199 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z199 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
Offset 210, 26 lines modifiedOffset 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·v1211 ····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·323213 ····.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·v3216 ····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_0218 ····goto·:goto_0
  
219 ····.line·325219 ····.line·315
220 ····:cond_0220 ····: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-void222 ····return-void
223 .end·method223 .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 modifiedOffset 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·annotation246 ····.end·annotation
  
247 ····.line·181247 ····.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_0249 ····if-eqz·v0,·:cond_0
  
250 ····.line·182250 ····.line·181
251 ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I251 ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I
  
252 ····move-result·v1252 ····move-result·v1
  
253 ····.line·181253 ····.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·v0255 ····move-result-object·v0
  
256 ····goto·:goto_0256 ····goto·:goto_0
  
257 ····:cond_0257 ····:cond_0
258 ····const/4·v0,·0x0258 ····const/4·v0,·0x0
  
259 ····:goto_0259 ····:goto_0
260 ····const/4·v1,·0x1260 ····const/4·v1,·0x1
  
261 ····if-eqz·v0,·:cond_3261 ····if-eqz·v0,·:cond_3
  
262 ····.line·184262 ····.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_2264 ····if-eqz·p1,·:cond_2
  
265 ····.line·185265 ····.line·184
266 ····invoke-interface·{v0},·Ljava/util/List;->size()I266 ····invoke-interface·{v0},·Ljava/util/List;->size()I
  
267 ····move-result·p1267 ····move-result·p1
  
268 ····const/4·v2,·0x0268 ····const/4·v2,·0x0
  
269 ····:goto_1269 ····:goto_1
270 ····if-ge·v2,·p1,·:cond_2270 ····if-ge·v2,·p1,·:cond_2
  
271 ····.line·187271 ····.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·v3273 ····move-result-object·v3
  
274 ····check-cast·v3,·Landroid/content/pm/PackageInfo;274 ····check-cast·v3,·Landroid/content/pm/PackageInfo;
  
275 ····.line·188275 ····.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;)Z278 ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
279 ····move-result·v4279 ····move-result·v4
  
280 ····if-eqz·v4,·:cond_1280 ····if-eqz·v4,·:cond_1
  
281 ····.line·189281 ····.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)V283 ····invoke-direct·{p0,·v1},·Ljava/util/ArrayList;-><init>(I)V
  
284 ····.line·190284 ····.line·189
285 ····invoke-interface·{p0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z285 ····invoke-interface·{p0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
286 ····return-object·p0286 ····return-object·p0
  
287 ····:cond_1287 ····:cond_1
288 ····add-int/lit8·v2,·v2,·0x1288 ····add-int/lit8·v2,·v2,·0x1
  
289 ····goto·:goto_1289 ····goto·:goto_1
  
290 ····:cond_2290 ····:cond_2
291 ····return-object·v0291 ····return-object·v0
  
292 ····.line·197292 ····.line·196
293 ····:cond_3293 ····:cond_3
294 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I294 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->getPackageQueryFlags()I
  
295 ····move-result·v0295 ····move-result·v0
  
296 ····.line·198296 ····.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_4298 ····if-nez·v2,·:cond_4
  
299 ····.line·199299 ····.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()I301 ····invoke-virtual·{p1},·Landroid/os/UserHandle;->getIdentifier()I
  
302 ····move-result·p1302 ····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·p0304 ····move-result-object·p0
  
305 ····return-object·p0305 ····return-object·p0
  
306 ····.line·202306 ····.line·201
307 ····:cond_4307 ····:cond_4
308 ····:try_start_0308 ····: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·p0311 ····move-result-object·p0
  
312 ····.line·203312 ····.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)V314 ····invoke-direct·{p1,·v1},·Ljava/util/ArrayList;-><init>(I)V
  
315 ····.line·204315 ····.line·203
316 ····invoke-interface·{p1,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z316 ····invoke-interface·{p1,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z
317 ····:try_end_0317 ····:try_end_0
318 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0318 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
319 ····return-object·p1319 ····return-object·p1
  
320 ····.line·207320 ····.line·206
321 ····:catch_0321 ····: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·p0323 ····move-result-object·p0
  
324 ····return-object·p0324 ····return-object·p0
325 .end·method325 .end·method
  
326 .method·private·static·getPackageQueryFlags()I326 .method·private·static·getPackageQueryFlags()I
327 ····.locals·1327 ····.locals·1
  
328 ····.line·621328 ····.line·568
329 ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z329 ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z
  
330 ····move-result·v0330 ····move-result·v0
  
331 ····if-eqz·v0,·:cond_0331 ····if-eqz·v0,·:cond_0
  
332 ····const·v0,·-0x7ffff000332 ····const·v0,·-0x7ffff000
Offset 399, 49 lines modifiedOffset 399, 49 lines modified
399 .method·private·loadGroupInfo()V399 .method·private·loadGroupInfo()V
400 ····.locals·4400 ····.locals·4
  
401 ····const-string·v0,·"PermissionApps"401 ····const-string·v0,·"PermissionApps"
  
402 ····const/4·v1,·0x0402 ····const/4·v1,·0x0
  
403 ····.line·331403 ····.line·321
404 ····:try_start_0404 ····: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·v0408 ····move-result-object·v0
409 ····:try_end_0409 ····:try_end_0
410 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0410 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
411 ····goto·:goto_0411 ····goto·:goto_0
  
412 ····.line·334412 ····.line·324
413 ····:catch_0413 ····:catch_0
414 ····:try_start_1414 ····: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·v1418 ····move-result-object·v1
  
419 ····.line·335419 ····.line·325
420 ····iget·v2,·v1,·Landroid/content/pm/PermissionInfo;->protectionLevel:I420 ····iget·v2,·v1,·Landroid/content/pm/PermissionInfo;->protectionLevel:I
  
421 ····and-int/lit8·v2,·v2,·0xf421 ····and-int/lit8·v2,·v2,·0xf
  
422 ····const/4·v3,·0x1422 ····const/4·v3,·0x1
  
423 ····if-eq·v2,·v3,·:cond_0423 ····if-eq·v2,·v3,·:cond_0
  
424 ····.line·337424 ····.line·327
425 ····new-instance·v1,·Ljava/lang/StringBuilder;425 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
426 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V426 ····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 modifiedOffset 459, 104 lines modified
459 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1459 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1
  
460 ····return-void460 ····return-void
  
461 ····:cond_0461 ····:cond_0
462 ····move-object·v0,·v1462 ····move-object·v0,·v1
  
463 ····.line·346463 ····.line·336
464 ····:goto_0464 ····: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·v1467 ····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·347469 ····.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,·0x0471 ····const/4·v2,·0x0
  
472 ····const/4·v3,·0x5472 ····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·v1474 ····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·349476 ····.line·339
477 ····iget·v1,·v0,·Landroid/content/pm/PackageItemInfo;->icon:I477 ····iget·v1,·v0,·Landroid/content/pm/PackageItemInfo;->icon:I
  
478 ····if-eqz·v1,·:cond_1478 ····if-eqz·v1,·:cond_1
  
479 ····.line·350479 ····.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·v1482 ····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_1484 ····goto·:goto_1
  
485 ····.line·352485 ····.line·342
486 ····:cond_1486 ····: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,·0x7f0800c8488 ····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·v1490 ····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·354492 ····.line·344
493 ····:goto_1493 ····: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,·0x1010429496 ····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·v1498 ····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·355500 ····.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_2502 ····if-eqz·v1,·:cond_2
  
503 ····.line·356503 ····.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·v0507 ····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_2509 ····goto·:goto_2
  
510 ····.line·357510 ····.line·347
511 ····:cond_2511 ····: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_3513 ····if-eqz·v1,·:cond_3
  
514 ····.line·358514 ····.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·v0518 ····move-result-object·v0
Offset 566, 15 lines modifiedOffset 566, 15 lines modified
566 ····:cond_3566 ····:cond_3
567 ····:goto_2567 ····:goto_2
568 ····return-void568 ····return-void
  
569 ····:catch_1569 ····:catch_1
570 ····move-exception·v1570 ····move-exception·v1
  
571 ····.line·342571 ····.line·332
572 ····new-instance·v2,·Ljava/lang/StringBuilder;572 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
573 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V573 ····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 modifiedOffset 589, 91 lines modified
  
589 ····invoke-static·{v0,·p0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I589 ····invoke-static·{v0,·p0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
590 ····return-void590 ····return-void
591 .end·method591 .end·method
  
592 .method·private·loadPermissionApps()Ljava/util/List;592 .method·private·loadPermissionApps()Ljava/util/List;
593 ····.locals·30593 ····.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·annotation601 ····.end·annotation
  
602 ····move-object/from16·v0,·p0602 ····move-object/from16·v0,·p0
  
603 ····.line·213603 ····.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·v1607 ····move-result-object·v1
  
608 ····if-nez·v1,·:cond_0608 ····if-nez·v1,·:cond_0
  
609 ····.line·215609 ····.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·v0611 ····move-result-object·v0
  
612 ····return-object·v0612 ····return-object·v0
  
613 ····.line·218613 ····.line·217
614 ····:cond_0614 ····: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·v2618 ····move-result-object·v2
  
619 ····if-nez·v2,·:cond_1619 ····if-nez·v2,·:cond_1
  
620 ····.line·220620 ····.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·v0622 ····move-result-object·v0
  
623 ····return-object·v0623 ····return-object·v0
  
624 ····.line·222624 ····.line·221
625 ····:cond_1625 ····:cond_1
626 ····new-instance·v10,·Ljava/util/ArrayList;626 ····new-instance·v10,·Ljava/util/ArrayList;
  
627 ····invoke-interface·{v2},·Ljava/util/List;->size()I627 ····invoke-interface·{v2},·Ljava/util/List;->size()I
  
628 ····move-result·v3628 ····move-result·v3
  
629 ····invoke-direct·{v10,·v3},·Ljava/util/ArrayList;-><init>(I)V629 ····invoke-direct·{v10,·v3},·Ljava/util/ArrayList;-><init>(I)V
  
630 ····const/4·v3,·0x0630 ····const/4·v3,·0x0
  
631 ····.line·223631 ····.line·222
632 ····:goto_0632 ····:goto_0
633 ····invoke-interface·{v2},·Ljava/util/List;->size()I633 ····invoke-interface·{v2},·Ljava/util/List;->size()I
  
634 ····move-result·v4634 ····move-result·v4
  
635 ····if-ge·v3,·v4,·:cond_3635 ····if-ge·v3,·v4,·:cond_3
  
636 ····.line·224636 ····.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·v4638 ····move-result-object·v4
  
639 ····check-cast·v4,·Landroid/content/pm/PermissionInfo;639 ····check-cast·v4,·Landroid/content/pm/PermissionInfo;
  
640 ····.line·225640 ····.line·224
641 ····iget·v5,·v4,·Landroid/content/pm/PermissionInfo;->protectionLevel:I641 ····iget·v5,·v4,·Landroid/content/pm/PermissionInfo;->protectionLevel:I
  
642 ····and-int/lit8·v5,·v5,·0xf642 ····and-int/lit8·v5,·v5,·0xf
  
643 ····const/4·v6,·0x1643 ····const/4·v6,·0x1
  
644 ····if-ne·v5,·v6,·:cond_2644 ····if-ne·v5,·v6,·:cond_2
Offset 686, 139 lines modifiedOffset 686, 139 lines modified
  
686 ····if-eqz·v6,·:cond_2686 ····if-eqz·v6,·:cond_2
  
687 ····and-int/lit8·v5,·v5,·0x2687 ····and-int/lit8·v5,·v5,·0x2
  
688 ····if-nez·v5,·:cond_2688 ····if-nez·v5,·:cond_2
  
689 ····.line·229689 ····.line·228
690 ····invoke-interface·{v10,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z690 ····invoke-interface·{v10,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
691 ····:cond_2691 ····:cond_2
692 ····add-int/lit8·v3,·v3,·0x1692 ····add-int/lit8·v3,·v3,·0x1
  
693 ····goto·:goto_0693 ····goto·:goto_0
  
694 ····.line·233694 ····.line·232
695 ····:cond_3695 ····: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·v3698 ····move-result-object·v3
  
699 ····.line·234699 ····.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·v12701 ····move-result-object·v12
  
702 ····const/4·v4,·0x0702 ····const/4·v4,·0x0
  
703 ····const/4·v5,·0x5703 ····const/4·v5,·0x5
  
704 ····.line·235704 ····.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·v13706 ····move-result-object·v13
  
707 ····.line·238707 ····.line·237
708 ····new-instance·v14,·Ljava/util/ArrayList;708 ····new-instance·v14,·Ljava/util/ArrayList;
  
709 ····invoke-direct·{v14},·Ljava/util/ArrayList;-><init>()V709 ····invoke-direct·{v14},·Ljava/util/ArrayList;-><init>()V
  
710 ····.line·240710 ····.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·v3714 ····move-result-object·v3
  
715 ····check-cast·v3,·Landroid/os/UserManager;715 ····check-cast·v3,·Landroid/os/UserManager;
  
716 ····.line·241716 ····.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·v3718 ····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·v15720 ····move-result-object·v15
  
721 ····:cond_4721 ····:cond_4
722 ····invoke-interface·{v15},·Ljava/util/Iterator;->hasNext()Z722 ····invoke-interface·{v15},·Ljava/util/Iterator;->hasNext()Z
  
723 ····move-result·v3723 ····move-result·v3
  
724 ····if-eqz·v3,·:cond_12724 ····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·v3726 ····move-result-object·v3
  
727 ····move-object·v9,·v3727 ····move-object·v9,·v3
  
728 ····check-cast·v9,·Landroid/os/UserHandle;728 ····check-cast·v9,·Landroid/os/UserHandle;
  
729 ····.line·242729 ····.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·v8731 ····move-result-object·v8
  
732 ····.line·243732 ····.line·242
733 ····invoke-interface·{v8},·Ljava/util/List;->size()I733 ····invoke-interface·{v8},·Ljava/util/List;->size()I
  
734 ····move-result·v7734 ····move-result·v7
  
735 ····const/4·v6,·0x0735 ····const/4·v6,·0x0
  
736 ····:goto_1736 ····:goto_1
737 ····if-ge·v6,·v7,·:cond_4737 ····if-ge·v6,·v7,·:cond_4
  
738 ····.line·245738 ····.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·v3740 ····move-result-object·v3
  
741 ····move-object·v5,·v3741 ····move-object·v5,·v3
  
742 ····check-cast·v5,·Landroid/content/pm/PackageInfo;742 ····check-cast·v5,·Landroid/content/pm/PackageInfo;
  
743 ····.line·246743 ····.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_6745 ····if-nez·v3,·:cond_6
  
746 ····:cond_5746 ····:cond_5
747 ····move/from16·v16,·v6747 ····move/from16·v16,·v6
  
748 ····move/from16·v20,·v7748 ····move/from16·v20,·v7
  
749 ····move-object/from16·v21,·v8749 ····move-object/from16·v21,·v8
  
750 ····move-object/from16·v22,·v9750 ····move-object/from16·v22,·v9
  
751 ····goto/16·:goto_c751 ····goto/16·:goto_a
  
752 ····:cond_6752 ····:cond_6
753 ····const/4·v4,·0x0753 ····const/4·v4,·0x0
  
754 ····.line·250754 ····.line·249
755 ····:goto_2755 ····: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,·v3757 ····array-length·v11,·v3
  
758 ····if-ge·v4,·v11,·:cond_5758 ····if-ge·v4,·v11,·:cond_5
  
759 ····.line·251759 ····.line·250
760 ····aget-object·v3,·v3,·v4760 ····aget-object·v3,·v3,·v4
  
761 ····.line·255761 ····.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·v11763 ····move-result-object·v11
  
764 ····:goto_3764 ····:goto_3
765 ····invoke-interface·{v11},·Ljava/util/Iterator;->hasNext()Z765 ····invoke-interface·{v11},·Ljava/util/Iterator;->hasNext()Z
  
Offset 836, 15 lines modifiedOffset 836, 15 lines modified
  
836 ····move-object/from16·v4,·v16836 ····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,·v6838 ····move/from16·v16,·v6
  
839 ····.line·256839 ····.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;)Z841 ····invoke-virtual·{v3,·v6},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
842 ····move-result·v6842 ····move-result·v6
  
843 ····if-eqz·v6,·:cond_7843 ····if-eqz·v6,·:cond_7
Offset 874, 15 lines modifiedOffset 874, 15 lines modified
  
874 ····move-object/from16·v21,·v8874 ····move-object/from16·v21,·v8
  
875 ····move-object/from16·v22,·v9875 ····move-object/from16·v22,·v9
  
876 ····goto·:goto_5876 ····goto·:goto_5
  
877 ····.line·266877 ····.line·265
878 ····:cond_9878 ····: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,·0x0880 ····const/4·v11,·0x0
  
881 ····move-object·v4,·v5881 ····move-object·v4,·v5
  
Offset 923, 69 lines modifiedOffset 923, 69 lines modified
  
923 ····move-object/from16·v8,·v21923 ····move-object/from16·v8,·v21
  
924 ····move-object/from16·v9,·v22924 ····move-object/from16·v9,·v22
  
925 ····goto·:goto_2925 ····goto·:goto_2
  
926 ····.line·274926 ····.line·273
927 ····:cond_a927 ····: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_b929 ····if-eqz·v3,·:cond_b
  
930 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z930 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z
  
931 ····if-nez·v4,·:cond_b931 ····if-nez·v4,·:cond_b
  
932 ····.line·275932 ····.line·274
933 ····invoke-virtual/range·{v22·..·v22},·Landroid/os/UserHandle;->getIdentifier()I933 ····invoke-virtual/range·{v22·..·v22},·Landroid/os/UserHandle;->getIdentifier()I
  
934 ····move-result·v4934 ····move-result·v4
  
935 ····move-object/from16·v5,·v19935 ····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·v3938 ····move-result-object·v3
  
939 ····goto·:goto_6939 ····goto·:goto_6
  
940 ····:cond_b940 ····:cond_b
941 ····move-object/from16·v5,·v19941 ····move-object/from16·v5,·v19
  
942 ····move-object/from16·v3,·v17942 ····move-object/from16·v3,·v17
  
943 ····.line·280943 ····.line·279
944 ····:goto_6944 ····:goto_6
945 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z945 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z
  
946 ····if-eqz·v4,·:cond_c946 ····if-eqz·v4,·:cond_c
  
947 ····.line·281947 ····.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_7949 ····:goto_7
950 ····move-object/from16·v26,·v4950 ····move-object/from16·v26,·v4
  
951 ····goto·:goto_8951 ····goto·:goto_8
  
952 ····:cond_c952 ····:cond_c
953 ····if-eqz·v3,·:cond_d953 ····if-eqz·v3,·:cond_d
  
954 ····.line·283954 ····.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·v4956 ····check-cast·v4,·Ljava/lang/String;
  
957 ····goto·:goto_7957 ····goto·:goto_7
  
958 ····.line·285958 ····.line·284
959 ····:cond_d959 ····: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 modifiedOffset 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·v4994 ····move-result-object·v4
  
995 ····goto·:goto_7995 ····goto·:goto_7
  
996 ····.line·289996 ····.line·288
997 ····:goto_8997 ····:goto_8
998 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z998 ····iget-boolean·v4,·v0,·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps;->mSkipUi:Z
  
999 ····if-nez·v4,·:cond_f999 ····if-nez·v4,·:cond_f
  
1000 ····if-eqz·v3,·:cond_e1000 ····if-eqz·v3,·:cond_e
  
1001 ····.line·2911001 ····.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·v41003 ····move-object/from16·v17,·v3
  
 1004 ····check-cast·v17,·Landroid/graphics/drawable/Drawable;
  
1004 ····goto·:goto_91005 ····goto·:goto_9
  
1005 ····.line·2931006 ····.line·292
1006 ····:cond_e1007 ····: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·v41009 ····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_a1011 ····move-result-object·v17
  
1014 ····:cond_f1012 ····:cond_f
 1013 ····:goto_9
1015 ····move-object/from16·v27,·v171014 ····move-object/from16·v27,·v17
  
1016 ····.line·2981015 ····.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,·v31019 ····move-object/from16·v23,·v3
  
1038 ····move-object/from16·v24,·v41020 ····move-object/from16·v24,·v4
  
1039 ····move-object/from16·v28,·v51021 ····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;)V1022 ····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·3091023 ····.line·299
1042 ····invoke-virtual·{v14,·v3},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z1024 ····invoke-virtual·{v14,·v3},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
1043 ····:goto_c1025 ····:goto_a
1044 ····add-int/lit8·v6,·v16,·0x11026 ····add-int/lit8·v6,·v16,·0x1
  
1045 ····move/from16·v7,·v201027 ····move/from16·v7,·v20
  
1046 ····move-object/from16·v8,·v211028 ····move-object/from16·v8,·v21
  
1047 ····move-object/from16·v9,·v221029 ····move-object/from16·v9,·v22
  
1048 ····goto/16·:goto_11030 ····goto/16·:goto_1
  
1049 ····.line·3151031 ····.line·305
1050 ····:cond_121032 ····:cond_10
1051 ····invoke-static·{v14},·Ljava/util/Collections;->sort(Ljava/util/List;)V1033 ····invoke-static·{v14},·Ljava/util/Collections;->sort(Ljava/util/List;)V
  
1052 ····return-object·v141034 ····return-object·v14
1053 .end·method1035 .end·method
  
  
1054 #·virtual·methods1036 #·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·01038 ····.locals·0
  
1057 ····.line·1611039 ····.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·p01042 ····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 modifiedOffset 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·annotation1093 ····.end·annotation
  
1123 ····.line·1571094 ····.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·p01096 ····return-object·p0
1126 .end·method1097 .end·method
  
1127 .method·public·getDescription()Ljava/lang/CharSequence;1098 .method·public·getDescription()Ljava/lang/CharSequence;
1128 ····.locals·01099 ····.locals·0
  
1129 ····.line·1771100 ····.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·p01102 ····return-object·p0
1132 .end·method1103 .end·method
  
1133 .method·public·getFullLabel()Ljava/lang/CharSequence;1104 .method·public·getFullLabel()Ljava/lang/CharSequence;
1134 ····.locals·01105 ····.locals·0
  
1135 ····.line·1691106 ····.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·p01108 ····return-object·p0
1138 .end·method1109 .end·method
  
1139 .method·public·getGrantedCount()I1110 .method·public·getGrantedCount()I
1140 ····.locals·51111 ····.locals·5
  
1141 ····.line·1201112 ····.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·v01115 ····move-result-object·v0
  
1145 ····const/4·v1,·0x01116 ····const/4·v1,·0x0
Offset 1167, 26 lines modifiedOffset 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·v21139 ····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·1211141 ····.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·v31143 ····move-result-object·v3
  
1173 ····iget-boolean·v3,·v3,·Landroid/content/pm/ApplicationInfo;->enabled:Z1144 ····iget-boolean·v3,·v3,·Landroid/content/pm/ApplicationInfo;->enabled:Z
  
1174 ····if-nez·v3,·:cond_11145 ····if-nez·v3,·:cond_1
  
1175 ····goto·:goto_01146 ····goto·:goto_0
  
1176 ····.line·1241147 ····.line·123
1177 ····:cond_11148 ····: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·v41151 ····move-result-object·v4
  
Offset 1194, 29 lines modifiedOffset 1165, 29 lines modified
  
1194 ····move-result·v31165 ····move-result·v3
  
1195 ····if-nez·v3,·:cond_21166 ····if-nez·v3,·:cond_2
  
1196 ····goto·:goto_01167 ····goto·:goto_0
  
1197 ····.line·1271168 ····.line·126
1198 ····:cond_21169 ····: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·v31171 ····move-result-object·v3
  
1201 ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->isGroupOrBgGroupUserSensitive(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z1172 ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->isGroupOrBgGroupUserSensitive(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Z
  
1202 ····move-result·v31173 ····move-result·v3
  
1203 ····if-nez·v3,·:cond_31174 ····if-nez·v3,·:cond_3
  
1204 ····goto·:goto_01175 ····goto·:goto_0
  
1205 ····.line·1311176 ····.line·130
1206 ····:cond_31177 ····:cond_3
1207 ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->areRuntimePermissionsGranted()Z1178 ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->areRuntimePermissionsGranted()Z
  
1208 ····move-result·v21179 ····move-result·v2
  
1209 ····if-eqz·v2,·:cond_01180 ····if-eqz·v2,·:cond_0
Max diff block lines reached; 4596/39523 bytes (11.63%) of diff not shown.