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

Commit ca1110be authored by felipeal's avatar felipeal
Browse files

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

Test: none
Fixes: 173729240

Change-Id: I435704e76d45af919e301f59f0bd18ffb539e4d8
parent 162ac933
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8408,6 +8408,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) {