diff options
| author | Varun Shah <varunshah@google.com> | 2019-03-04 16:41:12 -0800 |
|---|---|---|
| committer | Varun Shah <varunshah@google.com> | 2019-03-11 14:49:03 -0700 |
| commit | 50ef2008928395975ad057c3c127ed401c6ad301 (patch) | |
| tree | 973e97070701afbfdf1b482e74f588697d115c07 /rs/java/android/renderscript/Program.java | |
| parent | 67a088d69ce5989f7aee4af25fb3c23bbf37643e (diff) | |
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
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions
