Skip to content
Commit 3e75d757 authored by Varun Shah's avatar Varun Shah
Browse files

Added a new API for SUW: ActivityManager#switchUser(UserHandle).

The new API is a SystemApi that mirrors ActivityManager#switchUser(int).
It also requires the MANAGE_USERS permission.

Bug: 113841016
Test: atest com.android.server.pm.UserManagerTest#testSwitchUserByHandle
Test: atest com.android.server.pm.UserManagerTest#testSwitchUser
Test: manual (run setup wizard)
Change-Id: Ica59863b90226131259ae22a3980526f054fd543
parent 9d7964b9
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