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

Commit 238c07cc authored by Felipe Leme's avatar Felipe Leme
Browse files

Changed HsumBootUserInitializer so it promotes an admin to main user.

Prior to this change, when a device changed from not requiring a main
user to requiring one, it would create a new user.

Test: atest HsumBootUserInitializerTest
Test: atest FrameworksMockingServicesTests --test-filter=".*UserManagerServiceMockedTest#testSetMainUser.*"

Bug: 402486365
Flag: android.multiuser.create_initial_user

Change-Id: I6807d6ab12a16cc5a892d1bdca91a4fd3b761f3e
parent 488afc1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment