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

Commit 712aeef3 authored by Jonathan Scott's avatar Jonathan Scott Committed by Automerger Merge Worker
Browse files

Merge "Remove incorrect checkNotNull." into udc-dev am: 9d037008

parents 5d6c5577 9d037008
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -11324,7 +11324,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
            setBackwardsCompatibleAppRestrictions(
                    packageName, restrictions, caller.getUserHandle());
        } else {
            Objects.requireNonNull(who, "ComponentName is null");
            Preconditions.checkCallAuthorization((caller.hasAdminComponent()
                    && (isProfileOwner(caller) || isDefaultDeviceOwner(caller)))
                    || (caller.hasPackage() && isCallerDelegate(caller,