Merge "Skip checking allowlist for non-system apps" into tm-qpr-dev
This commit is contained in:
@@ -3268,7 +3268,7 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
|
|||||||
if (Objects.equals(packageName, PLATFORM_PACKAGE_NAME)) {
|
if (Objects.equals(packageName, PLATFORM_PACKAGE_NAME)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!pkg.isPrivileged()) {
|
if (!(pkg.isSystem() && pkg.isPrivileged())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!mPrivilegedPermissionAllowlistSourcePackageNames
|
if (!mPrivilegedPermissionAllowlistSourcePackageNames
|
||||||
|
|||||||
Reference in New Issue
Block a user