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

Commit 71e06d9d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove leftover DO/PO check in isPackageSuspended"

parents 41bd1ec4 c8aeef6a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8192,7 +8192,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
            // Ensure the caller is a DO/PO or a package access delegate.
            enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER,
                    DELEGATION_PACKAGE_ACCESS);
            getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);

            long id = mInjector.binderClearCallingIdentity();
            try {