Continue if package is not in system
am: 434c8db80f
Change-Id: Ie2a9741583bb09ddcb27e28e18f29d63f371c8ff
This commit is contained in:
@@ -1069,7 +1069,7 @@ final class DefaultPermissionGrantPolicy {
|
||||
if (pkg == null) {
|
||||
Log.w(TAG, "Unknown package:" + packageName);
|
||||
XmlUtils.skipCurrentTag(parser);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
// The package must support runtime permissions
|
||||
@@ -1077,7 +1077,7 @@ final class DefaultPermissionGrantPolicy {
|
||||
Log.w(TAG, "Skipping non supporting runtime permissions package:"
|
||||
+ packageName);
|
||||
XmlUtils.skipCurrentTag(parser);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
packageExceptions = new ArrayList<>();
|
||||
outGrantExceptions.put(packageName, packageExceptions);
|
||||
|
||||
Reference in New Issue
Block a user