Enforce limit of one main user.
Currently the documentation states that there can only be one main user, but this is not enforced. This CL adds a check so that a second user with FLAG_MAIN cannot be created. Bug: 294977112 Test: atest UserManagerTest Change-Id: I33c0802b33dd1c049c9838bc9abde6a7a5ce73ad
Loading
Please register or sign in to comment