Skip to content
Commit 50ef2008 authored by Varun Shah's avatar Varun Shah
Browse files

Added UserManager#getUserSwitchability.

The new SystemApi indicates whether user switching is currently allowed
or not. This API provides more detail than the already existing
UserManager#canSwitchUsers (now deprecated) by telling the user why
users cannot be switched via a flag that's returned.

Bug: 124883455
Test: atest android.server.pm.UserManagerTest#testGetUserSwitchability
Change-Id: Ib3ac2f063f3638a172fa339fd2330604b910c7f4
parent 67a088d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment