Merge "Add missing check in getKeyguardDisabledFeature"
This commit is contained in:
@@ -8243,6 +8243,9 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
|
||||
final CallerIdentity caller = getCallerIdentity();
|
||||
Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));
|
||||
Preconditions.checkCallAuthorization(
|
||||
who == null || isCallingFromPackage(who.getPackageName(), caller.getUid())
|
||||
|| isSystemUid(caller));
|
||||
|
||||
final long ident = mInjector.binderClearCallingIdentity();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user