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

Commit a7b56b2c authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Restricted Users for MainUser

Previously, the parent of a restricted user had to be the system user
(in the creation method). On HSUM, we want this to be the main user. The
canHaveRestrictedProfile() method already took this into account, but
not the actual creation method. We fix this here.

Test: on a device without feature android.hardware.telephony, do the following:
make GtsGmsCoreMultiUserTestApp  &&    atest GtsGmscoreHostTestCases:com.google.android.gts.multiuser.RestrictedProfileHostTest
Bug: 414839808
Flag: EXEMPT bugfix
Change-Id: Id69ead7224ee901a18a5153f7627a7cd0b3f45ce
parent b21088ef
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