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

Commit b9a69c62 authored by Esteban Talavera's avatar Esteban Talavera Committed by android-build-merger
Browse files

Merge "Clarified documentation as requested by API review" into nyc-dev

am: 5fbfa1b0

* commit '5fbfa1b0':
  Clarified documentation as requested by API review
parents ca4c07ae 5fbfa1b0
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -4019,9 +4019,12 @@ public class DevicePolicyManager {
    }

    /**
     * Returns {@code true} if the calling package has been granted permission via
     * {@link #setApplicationRestrictionsManagingPackage} to manage application
     * restrictions for the calling user.
     * Called by any application to find out whether it has been granted permission via
     * {@link #setApplicationRestrictionsManagingPackage} to manage application restrictions
     * for the calling user.
     *
     * <p>This is done by comparing the calling Linux uid with the uid of the package specified by
     * that method.
     */
    public boolean isCallerApplicationRestrictionsManagingPackage() {
        if (mService != null) {