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

Commit 54b7acbb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix permission issue when provisioning." into udc-dev am: bf78a8d1

parents 22d04ba2 bf78a8d1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -16406,12 +16406,12 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
                    mInjector.getPackageManager().getPackagesForUid(caller.getUid()));
            Preconditions.checkArgument(callerUidPackageNames.contains(packageName),
                    "Caller uid doesn't match the one for the provided package.");
        } finally {
            mInjector.binderRestoreCallingIdentity(ident);
        }
            return checkProvisioningPreconditionSkipPermission(action, packageName, caller.getUserId())
                    == STATUS_OK;
        } finally {
            mInjector.binderRestoreCallingIdentity(ident);
        }
    }
    @Override