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

Commit 71ada44b authored by Alex Chau's avatar Alex Chau
Browse files

API Review: android.os.UserManager.DISALLOW_USER_SWITCH

- Mentions device owner can still force a user switch

Bug: 71866612
Test: None
Change-Id: I48f4ffd0d64b2623b8640f5bbaccdb42cdb30137
parent 2cb882d6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -913,6 +913,9 @@ public class UserManager {
     * Specifies if user switching is blocked on the current user.
     *
     * <p> This restriction can only be set by the device owner, it will be applied to all users.
     * Device owner can still switch user via
     * {@link DevicePolicyManager#switchUser(ComponentName, UserHandle)} when this restriction is
     * set.
     *
     * <p>The default value is <code>false</code>.
     *