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

Commit 61ed0dc0 authored by Wen ZHANG's avatar Wen ZHANG
Browse files

Update javadoc of UserManager#DISALLOW_ADJUST_VOLUME

Profile owners are not allowed setting this restriction until the N
release.

Test: No test as it only touches javadocs

Change-Id: I793e2c3b5270ee00e451551e68567e8995f31d1c
parent 262eddad
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -495,8 +495,11 @@ public class UserManager {

    /**
     * Specifies if a user is disallowed from adjusting the master volume. If set, the master volume
     * will be muted. This can be set by device owners and profile owners. The default value is
     * <code>false</code>.
     * will be muted. This can be set by device owners from API 21 and profile owners from API 24.
     * The default value is <code>false</code>.
     *
     * <p>When the restriction is set by profile owners, then it only applies to relevant
     * profiles.
     *
     * <p>This restriction has no effect on managed profiles.
     * <p>Key for user restrictions.