commit | 6827ed77a102c2dc970a847b06d6657d9fed48c9 | [log] [tgz] |
---|---|---|
author | Tetiana Meronyk <tetianameronyk@google.com> | Mon Aug 14 18:39:10 2023 +0000 |
committer | Tetiana Meronyk <tetianameronyk@google.com> | Tue Aug 15 17:20:29 2023 +0000 |
tree | 1bc71585702dbfd8c6cce88eef7980d1477a0cca | |
parent | a07524903e0339aed42d1838aaf065a24ccd5dbe [diff] |
Disable multiuser toggle when more than 1 user is created It makes more sense to have the toggle as on permanently as long as there are other users on the device. Otherwise if we toggle off "Allow multiple users", other users get hidden. Also with current behaviour the any admin can switch the toggle and this can block any other user, including main, from being able to use the device. Bug: 295183792 Test: atest UserManagerTest Change-Id: Ibf926223deec9c231917e279017222ee2cfba14f