Update preference title for add user on lock screen.

In Settings->User & accounts, update the preference title for "Add user"
to "Add users from lock screen" and remove the summary.

Bug: 34976320
Test: Visual
Change-Id: Idfb661537ac3b178ca20c2da9e66ab8a16567ba6
This commit is contained in:
Doris Ling
2017-02-15 11:19:02 -08:00
parent ec6cd665b1
commit 3c67adb804
3 changed files with 3 additions and 9 deletions

View File

@@ -5585,10 +5585,8 @@
<string name="user_remove_user_menu">Delete <xliff:g id="user_name">%1$s</xliff:g> from this device</string>
<!-- User lock screen settings header[CHAR LIMIT=40] -->
<string name="user_lockscreen_settings">Lock screen settings</string>
<!-- User settings item to allow creating new users from locks creen [CHAR LIMIT=40] -->
<string name="user_add_on_lockscreen_menu">Add users</string>
<!-- User settings user_add_on_lockscreen_menu item summary [CHAR LIMIT=40] -->
<string name="user_add_on_lockscreen_menu_summary">when device is locked</string>
<!-- User settings item to allow creating new users from locks screen [CHAR LIMIT=50] -->
<string name="user_add_on_lockscreen_menu">Add users from lock screen</string>
<!-- User details new user name [CHAR LIMIT=30] -->
<string name="user_new_user_name">New user</string>
<!-- User details new restricted profile name [CHAR LIMIT=30] -->

View File

@@ -49,8 +49,6 @@
<com.android.settingslib.RestrictedSwitchPreference
android:key="add_users_when_locked"
android:title="@string/user_add_on_lockscreen_menu"
android:summary="@string/user_add_on_lockscreen_menu_summary"
settings:useAdditionalSummary="true"
android:order="105"/>
<PreferenceCategory

View File

@@ -33,9 +33,7 @@
android:title="@string/user_lockscreen_settings">
<com.android.settingslib.RestrictedSwitchPreference
android:key="add_users_when_locked"
android:title="@string/user_add_on_lockscreen_menu"
android:summary="@string/user_add_on_lockscreen_menu_summary"
settings:useAdditionalSummary="true" />
android:title="@string/user_add_on_lockscreen_menu" />
</PreferenceCategory>
<Preference
android:key="emergency_info"