Merge "Don't remove SYSTEM_FIXED for intentional fixed grants to critical apps." into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
238c6d65d0
@@ -434,7 +434,8 @@ final class DefaultPermissionGrantPolicy {
|
||||
|| !pm.isGranted(Manifest.permission.READ_PRIVILEGED_PHONE_STATE,
|
||||
pkg, UserHandle.of(userId))
|
||||
|| !pm.isGranted(Manifest.permission.READ_PHONE_STATE, pkg,
|
||||
UserHandle.of(userId))) {
|
||||
UserHandle.of(userId))
|
||||
|| pm.isSysComponentOrPersistentPlatformSignedPrivApp(pkg)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user