Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2103430b authored by Ayush Sharma's avatar Ayush Sharma Committed by Android (Google) Code Review
Browse files

Merge "Add missing check in getKeyguardDisabledFeature" into sc-v2-dev

parents 60aed732 4820ef10
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8270,6 +8270,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 {