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

Skip to content
Commit 9e932ddd authored by Felipe Leme's avatar Felipe Leme
Browse files

Added more unit tests for UserManagerInternal.

This CL adds tests for the following 2 methods:

- void assignUserToDisplay(int userId)
- void unassignUserFromDisplay(int displayId)

It also makes some minor changes on those methods to throw exceptions
on invalid usage.

Bug: 244452695
Bug: 244644281

Test: atest FrameworksMockingServicesTests:com.android.server.pm.UserManagerServiceTest UserManagerInternalTest

Change-Id: Ieb17e7e8a43f7d697f98a45d1b0660d999ca28ec
parent 0e7702f7
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