Merge "Reset SYSTEM_FIXED flags for hard restricted perms" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
164404bfcb
@@ -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