Continue if package is not in system
bug:29546655 Change-Id: Ieb17534d60db4643180b915f9b10b0c79a2224e2
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