Merge "Reset SYSTEM_FIXED flags for hard restricted perms" into qt-dev
am: 164404bfcb
Change-Id: Idb2ee6f3af63729e6c98fcc6f4199a1efd9502f8
This commit is contained in:
@@ -1173,7 +1173,7 @@ public class PermissionManagerService {
|
||||
}
|
||||
}
|
||||
|
||||
if (hardRestricted && !restrictionExempt
|
||||
if (hardRestricted
|
||||
&& (flags & FLAG_PERMISSION_SYSTEM_FIXED) != 0) {
|
||||
// Applying a hard restriction implies revoking it. This might
|
||||
// lead to a system-fixed, revoked permission.
|
||||
|
||||
Reference in New Issue
Block a user