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

Skip to content
Commit 5cb4bf9d authored by Felipe Leme's avatar Felipe Leme
Browse files

More minor improvements on users on secondary display APIs.

- Removed warning on UserManagerService.getUserAssignedToDisplay().
- Improved javadocs on UserManagerInternal and ActivityManager.
- Explicitly throws a UnsupportedOperationException on
  ActivityManager.startUserInBackgroundOnSecondaryDisplay() when it's
  not supported (and add a CTS test for it)
- Don't allow user to be assigned to multiple displays.

Bug: 244644281
Test: atest CtsMultiUserTestCases:android.multiuser.cts.UserManagerTest#testStartUserInBackgroundOnSecondaryDisplay \
            MultipleUsersOnMultipleDisplaysTest:android.multiuser.cts.UserManagerTest#testStartUserInBackgroundOnSecondaryDisplay

Change-Id: I01375d70b746148f99c4a5ff1eea6faf83154a86
parent 07b5ffb2
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