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

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

Merge "Fix applicationrestrictions with delegate." into udc-dev

parents c01e1ce4 f217746e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12674,7 +12674,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
            }
            return policies.get(enforcingAdmin).getValue();
        } else {
            Objects.requireNonNull(who, "ComponentName is null");
            Preconditions.checkCallAuthorization((caller.hasAdminComponent()
                    && (isProfileOwner(caller) || isDefaultDeviceOwner(caller)))
                    || (caller.hasPackage() && isCallerDelegate(caller,