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

Commit d42e4a67 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Add parent check on DevicePolicyManager.isSafeOperation()" into sc-dev

parents 1b8c938a f377c28f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2997,6 +2997,7 @@ public class DevicePolicyManager {
     */
    // TODO(b/173541467): should it throw SecurityException if caller is not admin?
    public boolean isSafeOperation(@OperationSafetyReason int reason) {
        throwIfParentInstance("isSafeOperation");
        if (mService == null) return false;
        try {