Add UI for multiple admins on Headless
In a series of CLs under topic add_ui_for_hsum_admins UI and functionality for allowing multiple admins on HSUM build is added. In User settings and User switcher when creating a new user there is a new dialog prompting to choose admin status of the user to be created. In User details view there is a toggle that is visible to admin users that allows to modify admin status of existing users. This toggle is only applicable to full users that are not supervised, guests or a main device user. Bug: 252790451 Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserDetailsSettingsTest" Change-Id: I447dc168be30aa614aeb3f8b71ad14a7223fd7c1
This commit is contained in:
@@ -401,6 +401,8 @@
|
||||
<string name="share">Share</string>
|
||||
<!-- Button label for generic add action [CHAR LIMIT=20] -->
|
||||
<string name="add">Add</string>
|
||||
<!-- Button label for remove action [CHAR LIMIT=20] -->
|
||||
<string name="remove">Remove</string>
|
||||
|
||||
<!-- Title of the Settings activity shown within the application itself. -->
|
||||
<string name="settings_label">Settings</string>
|
||||
@@ -6020,12 +6022,18 @@
|
||||
|
||||
<!-- Title of preference to enable calling and SMS [CHAR LIMIT=45] -->
|
||||
<string name="user_enable_calling_sms">Turn on phone calls & SMS</string>
|
||||
<!-- Title of preference to grant user admin privileges [CHAR LIMIT=45] -->
|
||||
<string name="user_grant_admin">Give this user admin privileges</string>
|
||||
<!-- Title of preference to remove the user [CHAR LIMIT=35] -->
|
||||
<string name="user_remove_user">Delete user</string>
|
||||
<!-- Title for confirmation of turning on calls and SMS [CHAR LIMIT=45] -->
|
||||
<string name="user_enable_calling_and_sms_confirm_title">Turn on phone calls & SMS?</string>
|
||||
<!-- Message for confirmation of turning on calls and SMS [CHAR LIMIT=none] -->
|
||||
<string name="user_enable_calling_and_sms_confirm_message">Call and SMS history will be shared with this user.</string>
|
||||
<!-- Title for confirmation of revoking admin privileges [CHAR LIMIT=45] -->
|
||||
<string name="user_revoke_admin_confirm_title">Remove admin privileges?</string>
|
||||
<!-- Message for confirmation of revoking admin privileges [CHAR LIMIT=none] -->
|
||||
<string name="user_revoke_admin_confirm_message">Are you sure you want to remove this user\'s admin privileges?</string>
|
||||
<!-- Title for the emergency info preference [CHAR LIMIT=40] -->
|
||||
<string name="emergency_info_title">Emergency information</string>
|
||||
<!-- Summary for the emergency info preference [CHAR LIMIT=40] -->
|
||||
|
||||
Reference in New Issue
Block a user