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

Skip to content
Commit 0c229aa6 authored by Oli Lan's avatar Oli Lan
Browse files

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
parent 009d050e
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