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

Commit 9d037008 authored by Jonathan Scott's avatar Jonathan Scott Committed by Android (Google) Code Review
Browse files

Merge "Remove incorrect checkNotNull." into udc-dev

parents d106e331 933e6503
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,