Merge "Avoid NPE in app storage page" into qt-dev am: 35efae7822
am: f51d1d234c
Change-Id: Iaecb7a454e9a17660a82b0440f130089fad31675
This commit is contained in:
@@ -421,6 +421,10 @@ public class AppStorageSettings extends AppInfoWithHeader
|
||||
for (GrantedUriPermission perm : perms) {
|
||||
String authority = perm.uri.getAuthority();
|
||||
ProviderInfo provider = pm.resolveContentProvider(authority, 0);
|
||||
if (provider == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
CharSequence app = provider.applicationInfo.loadLabel(pm);
|
||||
MutableInt count = uriCounters.get(app);
|
||||
if (count == null) {
|
||||
|
||||
Reference in New Issue
Block a user