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

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

Merge "Documented what's returned by DPM.getUserRestrictions()."

parents bb6daa9f ca1110be
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8505,6 +8505,8 @@ public class DevicePolicyManager {
     * it previously set with {@link #addUserRestriction(ComponentName, String)}.
     *
     * @param admin Which {@link DeviceAdminReceiver} this request is associated with.
     * @return a {@link Bundle} whose keys are the user restrictions, and the values a
     * {@code boolean} indicating whether the restriction is set.
     * @throws SecurityException if {@code admin} is not a device or profile owner.
     */
    public @NonNull Bundle getUserRestrictions(@NonNull ComponentName admin) {