Refactor multiuser toggle to control user switch feature
The name "Allow multiple users" is too ambiguous. It sounds like by toggling it off, the feature is completely disabled. In fact, it only hides user switcher. In conjunction with hiding other users from the list, it makes it appear as all the users get deleted when the toggle is off. On the contrary, users might be running in background when the toggle is off. After this change, the new name better represents the intention behind this toggle, as well as makes the UI more intuitive. The users are not being hidden anymore. But switching preference gets disabled. Since the toggle can only be enabled or disabled by owner (after this refactoring), it means that Owner has full control over multiuser settings and is able to perform actions on users without having to enable the toggle. Bug: 336762423 Test: atest UserSettingsTest && atest UserDetailsSettingsTest Flag: android.multiuser.new_multiuser_settings_ux Change-Id: Id9d507039b58d3df66fe78710409716fd4816890
This commit is contained in:
@@ -12643,7 +12643,7 @@
|
||||
<string name="default_print_service_main_switch_title">Use print service</string>
|
||||
|
||||
<!-- Title for multiple users main switch. [CHAR LIMIT=50] -->
|
||||
<string name="multiple_users_main_switch_title">Allow multiple users</string>
|
||||
<string name="multiple_users_main_switch_title">Allow user switch</string>
|
||||
<!-- Search keywords for the "Allow Multiple Users" section in Multiple Users Screen. [CHAR LIMIT=NONE] -->
|
||||
<string name="multiple_users_main_switch_keywords">allow, multiple, user, permit, many</string>
|
||||
<!-- Search keywords for the Users Screen. [CHAR LIMIT=NONE] -->
|
||||
|
Reference in New Issue
Block a user