Offset 20, 14 lines modifiedOffset 20, 16 lines modified
  
20 .field·public·static·final·PERMISSION_IS_REDACTION_NEEDED:I·=·0x10020 .field·public·static·final·PERMISSION_IS_REDACTION_NEEDED:I·=·0x100
  
21 .field·public·static·final·PERMISSION_IS_SELF:I·=·0x121 .field·public·static·final·PERMISSION_IS_SELF:I·=·0x1
  
22 .field·public·static·final·PERMISSION_IS_SHELL:I·=·0x222 .field·public·static·final·PERMISSION_IS_SHELL:I·=·0x2
  
 23 .field·public·static·final·PERMISSION_IS_SYSTEM_GALLERY:I·=·0x400000
  
23 .field·public·static·final·PERMISSION_READ_AUDIO:I·=·0x1000024 .field·public·static·final·PERMISSION_READ_AUDIO:I·=·0x10000
  
24 .field·public·static·final·PERMISSION_READ_IMAGES:I·=·0x4000025 .field·public·static·final·PERMISSION_READ_IMAGES:I·=·0x40000
  
25 .field·public·static·final·PERMISSION_READ_VIDEO:I·=·0x2000026 .field·public·static·final·PERMISSION_READ_VIDEO:I·=·0x20000
  
26 .field·public·static·final·PERMISSION_WRITE_AUDIO:I·=·0x8000027 .field·public·static·final·PERMISSION_WRITE_AUDIO:I·=·0x80000
Offset 80, 83 lines modifiedOffset 82, 83 lines modified
80 .field·public·final·uid:I82 .field·public·final·uid:I
  
  
81 #·direct·methods83 #·direct·methods
82 .method·private·constructor·<init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V84 .method·private·constructor·<init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V
83 ····.locals·185 ····.locals·1
  
84 ····.line·6686 ····.line·67
85 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V87 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
86 ····.line·33388 ····.line·339
87 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;89 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;
  
88 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V90 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V
  
89 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->ownedIds:Lcom/android/providers/media/util/LongArray;91 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->ownedIds:Lcom/android/providers/media/util/LongArray;
  
90 ····.line·35292 ····.line·358
91 ····new-instance·v0,·Landroid/util/ArrayMap;93 ····new-instance·v0,·Landroid/util/ArrayMap;
  
92 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V94 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
93 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;95 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;
  
94 ····.line·6796 ····.line·68
95 ····iput-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;97 ····iput-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
96 ····.line·6898 ····.line·69
97 ····iput·p2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I99 ····iput·p2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
98 ····.line·69100 ····.line·70
99 ····iput·p3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I101 ····iput·p3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
100 ····.line·70102 ····.line·71
101 ····iput-object·p4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;103 ····iput-object·p4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;
  
102 ····.line·71104 ····.line·72
103 ····iput-object·p5,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;105 ····iput-object·p5,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
104 ····return-void106 ····return-void
105 .end·method107 .end·method
  
106 .method·public·static·fromBinder(Landroid/content/Context;Landroid/content/ContentProvider;)Lcom/android/providers/media/LocalCallingIdentity;108 .method·public·static·fromBinder(Landroid/content/Context;Landroid/content/ContentProvider;)Lcom/android/providers/media/LocalCallingIdentity;
107 ····.locals·7109 ····.locals·7
  
108 ····.line·87110 ····.line·88
109 ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingPackageUnchecked()Ljava/lang/String;111 ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingPackageUnchecked()Ljava/lang/String;
  
110 ····move-result-object·v0112 ····move-result-object·v0
  
111 ····if-nez·v0,·:cond_0113 ····if-nez·v0,·:cond_0
  
112 ····.line·89114 ····.line·90
113 ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String;115 ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String;
  
114 ····move-result-object·v0116 ····move-result-object·v0
  
115 ····:cond_0117 ····:cond_0
116 ····move-object·v5,·v0118 ····move-object·v5,·v0
  
117 ····.line·91119 ····.line·92
118 ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingAttributionTag()Ljava/lang/String;120 ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingAttributionTag()Ljava/lang/String;
  
119 ····move-result-object·p1121 ····move-result-object·p1
  
120 ····if-nez·p1,·:cond_1122 ····if-nez·p1,·:cond_1
  
121 ····.line·93123 ····.line·94
122 ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String;124 ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String;
  
123 ····move-result-object·p1125 ····move-result-object·p1
  
124 ····:cond_1126 ····:cond_1
125 ····move-object·v6,·p1127 ····move-object·v6,·p1
  
126 ····.line·95128 ····.line·96
127 ····new-instance·p1,·Lcom/android/providers/media/LocalCallingIdentity;129 ····new-instance·p1,·Lcom/android/providers/media/LocalCallingIdentity;
  
128 ····invoke-static·{},·Landroid/os/Binder;->getCallingPid()I130 ····invoke-static·{},·Landroid/os/Binder;->getCallingPid()I
  
129 ····move-result·v3131 ····move-result·v3
  
130 ····invoke-static·{},·Landroid/os/Binder;->getCallingUid()I132 ····invoke-static·{},·Landroid/os/Binder;->getCallingUid()I
Offset 171, 78 lines modifiedOffset 173, 78 lines modified
  
171 ····return-object·p1173 ····return-object·p1
172 .end·method174 .end·method
  
173 .method·public·static·fromExternal(Landroid/content/Context;I)Lcom/android/providers/media/LocalCallingIdentity;175 .method·public·static·fromExternal(Landroid/content/Context;I)Lcom/android/providers/media/LocalCallingIdentity;
174 ····.locals·4176 ····.locals·4
  
175 ····.line·100177 ····.line·101
176 ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;178 ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
177 ····move-result-object·v0179 ····move-result-object·v0
  
178 ····invoke-virtual·{v0,·p1},·Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String;180 ····invoke-virtual·{v0,·p1},·Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String;
  
179 ····move-result-object·v0181 ····move-result-object·v0
  
180 ····if-eqz·v0,·:cond_1182 ····if-eqz·v0,·:cond_1
  
181 ····.line·101183 ····.line·102
182 ····array-length·v1,·v0184 ····array-length·v1,·v0
  
183 ····if-eqz·v1,·:cond_1185 ····if-eqz·v1,·:cond_1
  
184 ····const/4·v1,·0x0186 ····const/4·v1,·0x0
  
185 ····.line·104187 ····.line·105
186 ····aget-object·v2,·v0,·v1188 ····aget-object·v2,·v0,·v1
  
187 ····const/4·v3,·0x0189 ····const/4·v3,·0x0
  
188 ····invoke-static·{p0,·p1,·v2,·v3},·Lcom/android/providers/media/LocalCallingIdentity;->fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity;190 ····invoke-static·{p0,·p1,·v2,·v3},·Lcom/android/providers/media/LocalCallingIdentity;->fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity;
  
189 ····move-result-object·p0191 ····move-result-object·p0
  
190 ····.line·105192 ····.line·106
191 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;193 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;
  
192 ····const/4·v0,·0x1194 ····const/4·v0,·0x1
  
193 ····.line·106195 ····.line·107
194 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z196 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z
  
195 ····const/16·v0,·0x7d0197 ····const/16·v0,·0x7d0
  
196 ····if-ne·p1,·v0,·:cond_0198 ····if-ne·p1,·v0,·:cond_0
  
197 ····const-string·p1,·"persist.sys.fuse.shell.redaction-needed"199 ····const-string·p1,·"persist.sys.fuse.shell.redaction-needed"
  
198 ····.line·109200 ····.line·110
199 ····invoke-static·{p1,·v1},·Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z201 ····invoke-static·{p1,·v1},·Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z
  
200 ····move-result·p1202 ····move-result·p1
  
201 ····if-eqz·p1,·:cond_0203 ····if-eqz·p1,·:cond_0
  
202 ····.line·110204 ····.line·111
203 ····iget·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I205 ····iget·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
204 ····const/16·v0,·0x100206 ····const/16·v0,·0x100
  
205 ····or-int/2addr·p1,·v0207 ····or-int/2addr·p1,·v0
  
206 ····iput·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I208 ····iput·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
207 ····.line·111209 ····.line·112
208 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I210 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I
  
209 ····:cond_0211 ····:cond_0
210 ····return-object·p0212 ····return-object·p0
  
211 ····.line·102213 ····.line·103
212 ····:cond_1214 ····:cond_1
213 ····new-instance·p0,·Ljava/lang/IllegalArgumentException;215 ····new-instance·p0,·Ljava/lang/IllegalArgumentException;
  
214 ····new-instance·v0,·Ljava/lang/StringBuilder;216 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
215 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V217 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 264, 15 lines modifiedOffset 266, 15 lines modified
  
264 ····throw·p0266 ····throw·p0
265 .end·method267 .end·method
  
266 .method·public·static·fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity;268 .method·public·static·fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity;
267 ····.locals·7269 ····.locals·7
  
268 ····.line·119270 ····.line·120
269 ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity;271 ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity;
  
270 ····const/4·v2,·-0x1272 ····const/4·v2,·-0x1
  
271 ····move-object·v0,·v6273 ····move-object·v0,·v6
  
272 ····move-object·v1,·p0274 ····move-object·v1,·p0
Offset 287, 105 lines modifiedOffset 289, 105 lines modified
  
287 ····return-object·v6289 ····return-object·v6
288 .end·method290 .end·method
  
289 .method·public·static·fromSelf(Landroid/content/Context;)Lcom/android/providers/media/LocalCallingIdentity;291 .method·public·static·fromSelf(Landroid/content/Context;)Lcom/android/providers/media/LocalCallingIdentity;
290 ····.locals·7292 ····.locals·7
  
291 ····.line·123293 ····.line·124
292 ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity;294 ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity;
  
293 ····.line·125295 ····.line·126
294 ····invoke-static·{},·Landroid/os/Process;->myPid()I296 ····invoke-static·{},·Landroid/os/Process;->myPid()I
  
295 ····move-result·v2297 ····move-result·v2
  
296 ····.line·126298 ····.line·127
297 ····invoke-static·{},·Landroid/os/Process;->myUid()I299 ····invoke-static·{},·Landroid/os/Process;->myUid()I
  
298 ····move-result·v3300 ····move-result·v3
  
299 ····.line·127301 ····.line·128
300 ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String;302 ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String;
  
301 ····move-result-object·v4303 ····move-result-object·v4
  
302 ····.line·128304 ····.line·129
303 ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String;305 ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String;
  
304 ····move-result-object·v5306 ····move-result-object·v5
  
305 ····move-object·v0,·v6307 ····move-object·v0,·v6
  
306 ····move-object·v1,·p0308 ····move-object·v1,·p0
  
307 ····invoke-direct/range·{v0·..·v5},·Lcom/android/providers/media/LocalCallingIdentity;-><init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V309 ····invoke-direct/range·{v0·..·v5},·Lcom/android/providers/media/LocalCallingIdentity;-><init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V
  
308 ····.line·130310 ····.line·131
309 ····iget-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;311 ····iget-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;
  
310 ····iput-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;312 ····iput-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;
  
311 ····const/4·p0,·0x1313 ····const/4·p0,·0x1
  
312 ····.line·131314 ····.line·132
313 ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z315 ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z
  
314 ····const/16·v0,·0x2710316 ····const/16·v0,·0x2710
  
315 ····.line·133317 ····.line·134
316 ····iput·v0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I318 ····iput·v0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I
  
317 ····.line·134319 ····.line·135
318 ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z320 ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z
  
319 ····const/16·p0,·-0xf0b321 ····const/16·p0,·-0xf0b
  
320 ····.line·135322 ····.line·136
321 ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I323 ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
322 ····const/4·p0,·-0x1324 ····const/4·p0,·-0x1
  
323 ····.line·138325 ····.line·139
324 ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I326 ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I
  
325 ····return-object·v6327 ····return-object·v6
326 .end·method328 .end·method
  
327 .method·private·getPackageNameInternal()Ljava/lang/String;329 .method·private·getPackageNameInternal()Ljava/lang/String;
328 ····.locals·3330 ····.locals·3
  
329 ····.line·155331 ····.line·156
330 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;332 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
331 ····const-class·v1,·Landroid/app/AppOpsManager;333 ····const-class·v1,·Landroid/app/AppOpsManager;
  
332 ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;334 ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
333 ····move-result-object·v0335 ····move-result-object·v0
  
334 ····check-cast·v0,·Landroid/app/AppOpsManager;336 ····check-cast·v0,·Landroid/app/AppOpsManager;
  
335 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I337 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
336 ····iget-object·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;338 ····iget-object·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;
  
337 ····.line·156339 ····.line·157
338 ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/AppOpsManager;->checkPackage(ILjava/lang/String;)V340 ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/AppOpsManager;->checkPackage(ILjava/lang/String;)V
  
339 ····.line·157341 ····.line·158
340 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;342 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String;
  
341 ····return-object·p0343 ····return-object·p0
342 .end·method344 .end·method
  
343 .method·private·getSharedPackageNamesInternal()[Ljava/lang/String;345 .method·private·getSharedPackageNamesInternal()[Ljava/lang/String;
344 ····.locals·1346 ····.locals·1
  
345 ····.line·172347 ····.line·173
346 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;348 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
347 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;349 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
348 ····move-result-object·v0350 ····move-result-object·v0
  
349 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I351 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
Offset 406, 36 lines modifiedOffset 408, 36 lines modified
406 ····:goto_0408 ····:goto_0
407 ····return-object·p0409 ····return-object·p0
408 .end·method410 .end·method
  
409 .method·private·getTargetSdkVersionInternal()I411 .method·private·getTargetSdkVersionInternal()I
410 ····.locals·2412 ····.locals·2
  
411 ····.line·189413 ····.line·190
412 ····:try_start_0414 ····:try_start_0
413 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;415 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
414 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;416 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
415 ····move-result-object·v0417 ····move-result-object·v0
  
416 ····.line·190418 ····.line·191
417 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;419 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
418 ····move-result-object·p0420 ····move-result-object·p0
  
419 ····const/4·v1,·0x0421 ····const/4·v1,·0x0
  
420 ····invoke-virtual·{v0,·p0,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;422 ····invoke-virtual·{v0,·p0,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
  
421 ····move-result-object·p0423 ····move-result-object·p0
  
422 ····if-eqz·p0,·:cond_0424 ····if-eqz·p0,·:cond_0
  
423 ····.line·192425 ····.line·193
424 ····iget·p0,·p0,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I426 ····iget·p0,·p0,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
425 ····:try_end_0427 ····:try_end_0
426 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0428 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
427 ····return·p0429 ····return·p0
  
428 ····:catch_0430 ····:catch_0
Offset 444, 15 lines modifiedOffset 446, 15 lines modified
  
444 ····return·p0446 ····return·p0
445 .end·method447 .end·method
  
446 .method·private·hasPermissionInternal(I)Z448 .method·private·hasPermissionInternal(I)Z
447 ····.locals·3449 ····.locals·3
  
448 ····.line·231450 ····.line·234
449 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I451 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
450 ····const/16·v1,·0x7d0452 ····const/16·v1,·0x7d0
  
451 ····if-ne·v0,·v1,·:cond_1453 ····if-ne·v0,·v1,·:cond_1
  
452 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;454 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
Offset 463, 36 lines modifiedOffset 465, 36 lines modified
  
463 ····move-result-object·v0465 ····move-result-object·v0
  
464 ····check-cast·v0,·Landroid/os/UserManager;466 ····check-cast·v0,·Landroid/os/UserManager;
  
465 ····const-string·v1,·"no_usb_file_transfer"467 ····const-string·v1,·"no_usb_file_transfer"
  
466 ····.line·232468 ····.line·235
467 ····invoke-virtual·{v0,·v1},·Landroid/os/UserManager;->hasUserRestriction(Ljava/lang/String;)Z469 ····invoke-virtual·{v0,·v1},·Landroid/os/UserManager;->hasUserRestriction(Ljava/lang/String;)Z
  
468 ····move-result·v0470 ····move-result·v0
  
469 ····if-nez·v0,·:cond_0471 ····if-nez·v0,·:cond_0
  
470 ····goto·:goto_0472 ····goto·:goto_0
  
471 ····.line·233473 ····.line·236
472 ····:cond_0474 ····:cond_0
473 ····new-instance·p0,·Ljava/lang/SecurityException;475 ····new-instance·p0,·Ljava/lang/SecurityException;
  
474 ····new-instance·p1,·Ljava/lang/StringBuilder;476 ····new-instance·p1,·Ljava/lang/StringBuilder;
  
475 ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V477 ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V
  
476 ····const-string·v0,·"Shell·user·cannot·access·files·for·user·"478 ····const-string·v0,·"Shell·user·cannot·access·files·for·user·"
  
477 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;479 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
478 ····.line·234480 ····.line·237
479 ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I481 ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I
  
480 ····move-result·v0482 ····move-result·v0
  
481 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;483 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
482 ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;484 ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
Offset 515, 194 lines modifiedOffset 517, 214 lines modified
  
515 ····sparse-switch·p1,·:sswitch_data_0517 ····sparse-switch·p1,·:sswitch_data_0
  
516 ····const/4·p0,·0x0518 ····const/4·p0,·0x0
  
517 ····return·p0519 ····return·p0
  
518 ····.line·272520 ····.line·278
519 ····:sswitch_0521 ····:sswitch_0
520 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;522 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
 523 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
 524 ····.line·279
 525 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
 526 ····move-result-object·v1
  
 527 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
 528 ····.line·278
 529 ····invoke-static·{p1,·v0,·v1,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkWriteImagesOrVideoAppOps(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Z
  
 530 ····move-result·p0
  
 531 ····return·p0
  
 532 ····.line·275
 533 ····:sswitch_1
 534 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
521 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I535 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
522 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I536 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
523 ····.line·273537 ····.line·276
524 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;538 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
525 ····move-result-object·v2539 ····move-result-object·v2
  
526 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;540 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
527 ····.line·272541 ····.line·275
528 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z542 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
529 ····move-result·p0543 ····move-result·p0
  
530 ····return·p0544 ····return·p0
  
531 ····.line·269545 ····.line·272
532 ····:sswitch_1546 ····:sswitch_2
533 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;547 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
534 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I548 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
535 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I549 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
536 ····.line·270550 ····.line·273
537 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;551 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
538 ····move-result-object·v2552 ····move-result-object·v2
  
539 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;553 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
540 ····.line·269554 ····.line·272
541 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z555 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
542 ····move-result·p0556 ····move-result·p0
  
543 ····return·p0557 ····return·p0
  
544 ····.line·266558 ····.line·269
545 ····:sswitch_2559 ····:sswitch_3
546 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;560 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
547 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I561 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
548 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I562 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
549 ····.line·267563 ····.line·270
550 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;564 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
551 ····move-result-object·v2565 ····move-result-object·v2
  
552 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;566 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
553 ····.line·266567 ····.line·269
554 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z568 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
555 ····move-result·p0569 ····move-result·p0
  
556 ····return·p0570 ····return·p0
  
557 ····.line·263571 ····.line·266
558 ····:sswitch_3572 ····:sswitch_4
559 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;573 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
560 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I574 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
561 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I575 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
562 ····.line·264576 ····.line·267
563 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;577 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
564 ····move-result-object·v2578 ····move-result-object·v2
  
565 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;579 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
566 ····.line·263580 ····.line·266
567 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z581 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
568 ····move-result·p0582 ····move-result·p0
  
569 ····return·p0583 ····return·p0
  
570 ····.line·260584 ····.line·263
571 ····:sswitch_4585 ····:sswitch_5
572 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;586 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
573 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I587 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
574 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I588 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
575 ····.line·261589 ····.line·264
576 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;590 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
577 ····move-result-object·v2591 ····move-result-object·v2
  
578 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;592 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
579 ····.line·260593 ····.line·263
580 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z594 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
581 ····move-result·p0595 ····move-result·p0
  
582 ····return·p0596 ····return·p0
  
583 ····.line·257597 ····.line·260
584 ····:sswitch_5598 ····:sswitch_6
585 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;599 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
586 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I600 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
587 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I601 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
588 ····.line·258602 ····.line·261
589 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;603 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
590 ····move-result-object·v2604 ····move-result-object·v2
  
591 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;605 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
592 ····.line·257606 ····.line·260
593 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z607 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
594 ····move-result·p0608 ····move-result·p0
  
595 ····return·p0609 ····return·p0
  
596 ····.line·254610 ····.line·257
597 ····:sswitch_6611 ····:sswitch_7
598 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyWriteInternal()Z612 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyWriteInternal()Z
  
599 ····move-result·p0613 ····move-result·p0
  
600 ····return·p0614 ····return·p0
  
601 ····.line·252615 ····.line·255
602 ····:sswitch_7616 ····:sswitch_8
603 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyReadInternal()Z617 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyReadInternal()Z
  
604 ····move-result·p0618 ····move-result·p0
  
605 ····return·p0619 ····return·p0
  
606 ····.line·250620 ····.line·253
607 ····:sswitch_8621 ····:sswitch_9
608 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyStorageGranted()Z622 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyStorageGranted()Z
  
609 ····move-result·p0623 ····move-result·p0
  
610 ····return·p0624 ····return·p0
  
611 ····.line·248625 ····.line·251
612 ····:sswitch_9626 ····:sswitch_a
613 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isRedactionNeededInternal()Z627 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isRedactionNeededInternal()Z
  
614 ····move-result·p0628 ····move-result·p0
  
615 ····return·p0629 ····return·p0
  
616 ····.line·245630 ····.line·248
617 ····:sswitch_a631 ····:sswitch_b
618 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;632 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
619 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I633 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
620 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I634 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
621 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionDelegator(Landroid/content/Context;II)Z635 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionDelegator(Landroid/content/Context;II)Z
  
622 ····move-result·p0636 ····move-result·p0
  
623 ····return·p0637 ····return·p0
  
624 ····.line·243638 ····.line·246
625 ····:sswitch_b639 ····:sswitch_c
626 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;640 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
627 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I641 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
628 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I642 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
629 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;643 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
Offset 713, 80 lines modifiedOffset 735, 79 lines modified
  
713 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionManager(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z735 ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionManager(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
  
714 ····move-result·p0736 ····move-result·p0
  
715 ····return·p0737 ····return·p0
  
716 ····.line·241738 ····.line·244
717 ····:cond_2739 ····:cond_2
718 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;740 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
719 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I741 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
720 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I742 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
721 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionShell(Landroid/content/Context;II)Z743 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionShell(Landroid/content/Context;II)Z
  
722 ····move-result·p0744 ····move-result·p0
  
723 ····return·p0745 ····return·p0
  
724 ····.line·239746 ····.line·242
725 ····:cond_3747 ····:cond_3
726 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;748 ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
727 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I749 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
728 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I750 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
729 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionSelf(Landroid/content/Context;II)Z751 ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionSelf(Landroid/content/Context;II)Z
  
730 ····move-result·p0752 ····move-result·p0
  
731 ····return·p0753 ····return·p0
  
732 ····nop 
  
733 ····:sswitch_data_0754 ····:sswitch_data_0
734 ····.sparse-switch755 ····.sparse-switch
735 ········0x4·->·:sswitch_b756 ········0x4·->·:sswitch_c
736 ········0x8·->·:sswitch_a757 ········0x8·->·:sswitch_b
737 ········0x100·->·:sswitch_9758 ········0x100·->·:sswitch_a
738 ········0x200·->·:sswitch_8759 ········0x200·->·:sswitch_9
739 ········0x400·->·:sswitch_7760 ········0x400·->·:sswitch_8
740 ········0x800·->·:sswitch_6761 ········0x800·->·:sswitch_7
741 ········0x10000·->·:sswitch_5762 ········0x10000·->·:sswitch_6
742 ········0x20000·->·:sswitch_4763 ········0x20000·->·:sswitch_5
743 ········0x40000·->·:sswitch_3764 ········0x40000·->·:sswitch_4
744 ········0x80000·->·:sswitch_2765 ········0x80000·->·:sswitch_3
745 ········0x100000·->·:sswitch_1766 ········0x100000·->·:sswitch_2
746 ········0x200000·->·:sswitch_0767 ········0x200000·->·:sswitch_1
 768 ········0x400000·->·:sswitch_0
747 ····.end·sparse-switch769 ····.end·sparse-switch
748 .end·method770 .end·method
  
749 .method·private·isLegacyReadInternal()Z771 .method·private·isLegacyReadInternal()Z
750 ····.locals·4772 ····.locals·4
  
751 ····const/16·v0,·0x200773 ····const/16·v0,·0x200
  
752 ····.line·313774 ····.line·319
753 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z775 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z
  
754 ····move-result·v0776 ····move-result·v0
  
755 ····if-eqz·v0,·:cond_0777 ····if-eqz·v0,·:cond_0
  
756 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;778 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
757 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I779 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
758 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I780 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
759 ····.line·314781 ····.line·320
760 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;782 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
761 ····move-result-object·v3783 ····move-result-object·v3
  
762 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;784 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
763 ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z785 ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
Offset 805, 74 lines modifiedOffset 826, 74 lines modified
805 ····:goto_0826 ····:goto_0
806 ····return·p0827 ····return·p0
807 .end·method828 .end·method
  
808 .method·private·isLegacyStorageGranted()Z829 .method·private·isLegacyStorageGranted()Z
809 ····.locals·5830 ····.locals·5
  
810 ····.line·281831 ····.line·287
811 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;832 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
812 ····move-result-object·v0833 ····move-result-object·v0
  
813 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I834 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
814 ····invoke-static·{v1},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle;835 ····invoke-static·{v1},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle;
  
815 ····move-result-object·v1836 ····move-result-object·v1
  
816 ····const-wide/32·v2,·0x8efaaaf837 ····const-wide/32·v2,·0x8efaaaf
  
817 ····.line·280838 ····.line·286
818 ····invoke-static·{v2,·v3,·v0,·v1},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z839 ····invoke-static·{v2,·v3,·v0,·v1},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z
  
819 ····move-result·v0840 ····move-result·v0
  
820 ····.line·283841 ····.line·289
821 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;842 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
822 ····move-result-object·v1843 ····move-result-object·v1
  
823 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I844 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
824 ····invoke-static·{v2},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle;845 ····invoke-static·{v2},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle;
  
825 ····move-result-object·v2846 ····move-result-object·v2
  
826 ····const-wide/32·v3,·0x7e81388847 ····const-wide/32·v3,·0x7e81388
  
827 ····.line·282848 ····.line·288
828 ····invoke-static·{v3,·v4,·v1,·v2},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z849 ····invoke-static·{v3,·v4,·v1,·v2},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z
  
829 ····move-result·v1850 ····move-result·v1
  
830 ····.line·286851 ····.line·292
831 ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageEnforced(ZZ)Z852 ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageEnforced(ZZ)Z
  
832 ····move-result·v2853 ····move-result·v2
  
833 ····if-eqz·v2,·:cond_0854 ····if-eqz·v2,·:cond_0
  
834 ····const/4·p0,·0x0855 ····const/4·p0,·0x0
  
835 ····return·p0856 ····return·p0
  
836 ····.line·290857 ····.line·296
837 ····:cond_0858 ····:cond_0
838 ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageDisabled(ZZ)Z859 ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageDisabled(ZZ)Z
  
839 ····move-result·v0860 ····move-result·v0
  
840 ····if-eqz·v0,·:cond_1861 ····if-eqz·v0,·:cond_1
  
841 ····const/4·p0,·0x1862 ····const/4·p0,·0x1
  
842 ····return·p0863 ····return·p0
  
843 ····.line·294864 ····.line·300
844 ····:cond_1865 ····:cond_1
845 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;866 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
846 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I867 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
847 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;868 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
Offset 886, 28 lines modifiedOffset 907, 28 lines modified
886 .end·method907 .end·method
  
887 .method·private·isLegacyWriteInternal()Z908 .method·private·isLegacyWriteInternal()Z
888 ····.locals·4909 ····.locals·4
  
889 ····const/16·v0,·0x200910 ····const/16·v0,·0x200
  
890 ····.line·308911 ····.line·314
891 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z912 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z
  
892 ····move-result·v0913 ····move-result·v0
  
893 ····if-eqz·v0,·:cond_0914 ····if-eqz·v0,·:cond_0
  
894 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;915 ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
895 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I916 ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
896 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I917 ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
897 ····.line·309918 ····.line·315
898 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;919 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
899 ····move-result-object·v3920 ····move-result-object·v3
  
900 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;921 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
901 ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z922 ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z
Offset 928, 15 lines modifiedOffset 949, 15 lines modified
928 .end·method949 .end·method
  
929 .method·private·isRedactionNeededInternal()Z950 .method·private·isRedactionNeededInternal()Z
930 ····.locals·12951 ····.locals·12
  
931 ····const/4·v0,·0x1952 ····const/4·v0,·0x1
  
932 ····.line·319953 ····.line·325
933 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z954 ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z
  
934 ····move-result·v1955 ····move-result·v1
  
935 ····const/4·v2,·0x0956 ····const/4·v2,·0x0
  
936 ····if-nez·v1,·:cond_3957 ····if-nez·v1,·:cond_3
Offset 947, 15 lines modifiedOffset 968, 15 lines modified
  
947 ····move-result·v1968 ····move-result·v1
  
948 ····if-eqz·v1,·:cond_0969 ····if-eqz·v1,·:cond_0
  
949 ····goto·:goto_1970 ····goto·:goto_1
  
950 ····.line·323971 ····.line·329
951 ····:cond_0972 ····:cond_0
952 ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;973 ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
953 ····iget·v3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I974 ····iget·v3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I
  
954 ····iget·v4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I975 ····iget·v4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
Offset 969, 39 lines modifiedOffset 990, 39 lines modified
  
969 ····if-eq·v1,·v3,·:cond_2990 ····if-eq·v1,·v3,·:cond_2
  
970 ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;991 ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context;
  
971 ····const-class·v3,·Landroid/app/AppOpsManager;992 ····const-class·v3,·Landroid/app/AppOpsManager;
  
972 ····.line·324993 ····.line·330
973 ····invoke-virtual·{v1,·v3},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;994 ····invoke-virtual·{v1,·v3},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
  
974 ····move-result-object·v1995 ····move-result-object·v1
  
975 ····move-object·v6,·v1996 ····move-object·v6,·v1
  
976 ····check-cast·v6,·Landroid/app/AppOpsManager;997 ····check-cast·v6,·Landroid/app/AppOpsManager;
  
977 ····.line·325998 ····.line·331
978 ····invoke-static·{v5},·Landroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;999 ····invoke-static·{v5},·Landroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;
  
979 ····move-result-object·v71000 ····move-result-object·v7
  
980 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;1001 ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String;
  
981 ····move-result-object·v81002 ····move-result-object·v8
  
982 ····iget·v9,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I1003 ····iget·v9,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I
  
983 ····iget-object·v10,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;1004 ····iget-object·v10,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String;
  
984 ····const/4·v11,·0x01005 ····const/4·v11,·0x0
  
985 ····.line·3241006 ····.line·330
986 ····invoke-virtual/range·{v6·..·v11},·Landroid/app/AppOpsManager;->noteProxyOpNoThrow(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I1007 ····invoke-virtual/range·{v6·..·v11},·Landroid/app/AppOpsManager;->noteProxyOpNoThrow(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I
  
987 ····move-result·p01008 ····move-result·p0
  
988 ····if-eqz·p0,·:cond_11009 ····if-eqz·p0,·:cond_1
  
989 ····goto·:goto_01010 ····goto·:goto_0
Offset 1055, 30 lines modifiedOffset 1076, 30 lines modified
1055 .end·method1076 .end·method
  
  
1056 #·virtual·methods1077 #·virtual·methods
1057 .method·public·addDeletedRowId(Ljava/lang/String;J)V1078 .method·public·addDeletedRowId(Ljava/lang/String;J)V
1058 ····.locals·01079 ····.locals·0
  
1059 ····.line·3551080 ····.line·361
1060 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;1081 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;
  
1061 ····invoke-static·{p2,·p3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;1082 ····invoke-static·{p2,·p3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
1062 ····move-result-object·p21083 ····move-result-object·p2
  
1063 ····invoke-virtual·{p0,·p1,·p2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;1084 ····invoke-virtual·{p0,·p1,·p2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
1064 ····return-void1085 ····return-void
1065 .end·method1086 .end·method
  
1066 .method·public·getDeletedRowId(Ljava/lang/String;)J1087 .method·public·getDeletedRowId(Ljava/lang/String;)J
1067 ····.locals·21088 ····.locals·2
  
1068 ····.line·3691089 ····.line·375
1069 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;1090 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap;
  
1070 ····const-wide/16·v0,·-0x11091 ····const-wide/16·v0,·-0x1
  
1071 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;1092 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
1072 ····move-result-object·v01093 ····move-result-object·v0
Offset 1095, 125 lines modifiedOffset 1116, 125 lines modified
  
1095 ····return-wide·p01116 ····return-wide·p0
1096 .end·method1117 .end·method
  
1097 .method·public·getPackageName()Ljava/lang/String;1118 .method·public·getPackageName()Ljava/lang/String;
1098 ····.locals·11119 ····.locals·1
  
1099 ····.line·1461120 ····.line·147
1100 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z1121 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z
  
1101 ····if-nez·v0,·:cond_01122 ····if-nez·v0,·:cond_0
  
1102 ····.line·1471123 ····.line·148
1103 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageNameInternal()Ljava/lang/String;1124 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageNameInternal()Ljava/lang/String;
  
1104 ····move-result-object·v01125 ····move-result-object·v0
  
1105 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;1126 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;
  
1106 ····const/4·v0,·0x11127 ····const/4·v0,·0x1
  
1107 ····.line·1481128 ····.line·149
1108 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z1129 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z
  
1109 ····.line·1501130 ····.line·151
1110 ····:cond_01131 ····:cond_0
1111 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;1132 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String;
  
1112 ····return-object·p01133 ····return-object·p0
1113 .end·method1134 .end·method
  
1114 .method·public·getSharedPackageNames()[Ljava/lang/String;1135 .method·public·getSharedPackageNames()[Ljava/lang/String;
1115 ····.locals·11136 ····.locals·1
  
1116 ····.line·1641137 ····.line·165
1117 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z1138 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z
  
1118 ····if-nez·v0,·:cond_01139 ····if-nez·v0,·:cond_0
  
1119 ····.line·1651140 ····.line·166
1120 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getSharedPackageNamesInternal()[Ljava/lang/String;1141 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getSharedPackageNamesInternal()[Ljava/lang/String;
  
1121 ····move-result-object·v01142 ····move-result-object·v0
  
1122 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;1143 ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;
  
1123 ····const/4·v0,·0x11144 ····const/4·v0,·0x1
  
1124 ····.line·1661145 ····.line·167
1125 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z1146 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z
  
1126 ····.line·1681147 ····.line·169
1127 ····:cond_01148 ····:cond_0
1128 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;1149 ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String;
  
1129 ····return-object·p01150 ····return-object·p0
1130 .end·method1151 .end·method
  
1131 .method·public·getTargetSdkVersion()I1152 .method·public·getTargetSdkVersion()I
1132 ····.locals·11153 ····.locals·1
  
1133 ····.line·1801154 ····.line·181
1134 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z1155 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z
  
1135 ····if-nez·v0,·:cond_01156 ····if-nez·v0,·:cond_0
  
1136 ····.line·1811157 ····.line·182
1137 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getTargetSdkVersionInternal()I1158 ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getTargetSdkVersionInternal()I
  
1138 ····move-result·v01159 ····move-result·v0
  
1139 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I1160 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I
  
1140 ····const/4·v0,·0x11161 ····const/4·v0,·0x1
  
1141 ····.line·1821162 ····.line·183
1142 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z1163 ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z
  
1143 ····.line·1841164 ····.line·185
1144 ····:cond_01165 ····:cond_0
1145 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I1166 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I
  
1146 ····return·p01167 ····return·p0
1147 .end·method1168 .end·method
  
1148 .method·public·hasPermission(I)Z1169 .method·public·hasPermission(I)Z
1149 ····.locals·11170 ····.locals·1
  
1150 ····.line·2201171 ····.line·223
1151 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I1172 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I
  
1152 ····and-int/2addr·v0,·p11173 ····and-int/2addr·v0,·p1
  
1153 ····if-nez·v0,·:cond_11174 ····if-nez·v0,·:cond_1
  
1154 ····.line·2211175 ····.line·224
1155 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionInternal(I)Z1176 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionInternal(I)Z
  
1156 ····move-result·v01177 ····move-result·v0
  
1157 ····if-eqz·v0,·:cond_01178 ····if-eqz·v0,·:cond_0
  
1158 ····.line·2221179 ····.line·225
1159 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I1180 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
1160 ····or-int/2addr·v0,·p11181 ····or-int/2addr·v0,·p1
  
1161 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I1182 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
1162 ····.line·2241183 ····.line·227
1163 ····:cond_01184 ····:cond_0
1164 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I1185 ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I
  
1165 ····or-int/2addr·v0,·p11186 ····or-int/2addr·v0,·p1
  
1166 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I1187 ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I
  
1167 ····.line·2261188 ····.line·229
1168 ····:cond_11189 ····:cond_1
1169 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I1190 ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I
  
1170 ····and-int/2addr·p0,·p11191 ····and-int/2addr·p0,·p1
  
1171 ····if-eqz·p0,·:cond_21192 ····if-eqz·p0,·:cond_2
  
Offset 1227, 15 lines modifiedOffset 1248, 15 lines modified
1227 ····:goto_01248 ····:goto_0
Max diff block lines reached; 2604/35209 bytes (7.40%) of diff not shown.