diff options
author | Amith Yamasani <yamasani@google.com> | 2012-09-23 12:54:14 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-09-23 18:43:31 -0700 |
commit | 9627a8ea151c1f27e5e9f34592c7b34fea3101c3 (patch) | |
tree | 3c92cd339e0df9ae47ac4ab92964d9b5aab36c10 /res | |
parent | b105531116148d5d29e113e611ac180aa9691c6e (diff) | |
download | packages_apps_settings-9627a8ea151c1f27e5e9f34592c7b34fea3101c3.zip packages_apps_settings-9627a8ea151c1f27e5e9f34592c7b34fea3101c3.tar.gz packages_apps_settings-9627a8ea151c1f27e5e9f34592c7b34fea3101c3.tar.bz2 |
Show more settings and add restrictions/dialogs for secondary users
Bug: 7213029 crash in About>Status
Bug: 7212495 hide System updates for second user
Bug: 7212230 nickname editor should select the text
Bug: 7160487 TTS settings
Bug: 7129411 Settings needs visibility changes for secondary users
Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 17 | ||||
-rw-r--r-- | res/xml/display_settings.xml | 2 | ||||
-rw-r--r-- | res/xml/user_settings.xml | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index a6f40d3..f0272cb 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -590,6 +590,10 @@ <string name="roaming_turn_it_on_button">Turn it on</string> <!-- mobile network settings screen, message in dialog box that appears when you select the "Data roaming" check box --> <string name="roaming_warning">When you allow data roaming, you may incur significant roaming charges!</string> + <!-- mobile network settings screen, message in dialog box that appears when you select the "Data roaming" check box. This is for multiuser tablets [CHAR LIMIT=none] --> + <string name="roaming_warning_multiuser" product="tablet">When you allow data roaming, you may incur significant roaming charges!\n\nThis setting affects all users on this tablet.</string> + <!-- mobile network settings screen, message in dialog box that appears when you select the "Data roaming" check box. This is for multiuser phones [CHAR LIMIT=none] --> + <string name="roaming_warning_multiuser" product="default">When you allow data roaming, you may incur significant roaming charges!\n\nThis setting affects all users on this phone.</string> <!-- mobile network settings screen, title of dialog box that appears when you select the "Data roaming" check box --> <string name="roaming_reenable_title">Allow data roaming?</string> <!-- mobile network settings screen, setting option name --> @@ -4074,6 +4078,10 @@ <string name="data_usage_restrict_background_title">Restrict background data?</string> <!-- Body of dialog shown before user restricts background data usage. [CHAR LIMIT=NONE] --> <string name="data_usage_restrict_background">If you restrict background mobile data, some apps and services won\'t work unless you\'re connected to a Wi-Fi network.</string> + <!-- Body of dialog shown before user restricts background data usage. This is for multiuser tablets. [CHAR LIMIT=NONE] --> + <string name="data_usage_restrict_background_multiuser" product="tablet">If you restrict background mobile data, some apps and services won\'t work unless you\'re connected to a Wi-Fi network.\n\nThis setting affects all users on this tablet.</string> + <!-- Body of dialog shown before user restricts background data usage. This is for multiuser phones. [CHAR LIMIT=NONE] --> + <string name="data_usage_restrict_background_multiuser" product="default">If you restrict background mobile data, some apps and services won\'t work unless you\'re connected to a Wi-Fi network.\n\nThis setting affects all users on this phone.</string> <!-- Label displaying current network data usage warning threshold. [CHAR LIMIT=18] --> <string name="data_usage_sweep_warning"><font size="21"><xliff:g id="number" example="128">^1</xliff:g></font> <font size="9"><xliff:g id="unit" example="KB">^2</xliff:g></font>\n<font size="12">warning</font></string> @@ -4279,6 +4287,15 @@ <!-- Spoken content description for delete icon beside a user [CHAR LIMIT=none] --> <string name="user_delete_user_description">Delete user</string> + <!-- Warning message when changing a global setting for a tablet.[CHAR LIMIT=none] --> + <string name="global_change_warning" product="tablet">This setting affects all users on this tablet.</string> + <!-- Warning message when changing a global setting for a phone.[CHAR LIMIT=none] --> + <string name="global_change_warning" product="default">This setting affects all users on this phone.</string> + <!-- Warning message title for global locale change [CHAR LIMIT=40] --> + <string name="global_locale_change_title">Change language</string> + <!-- Warning message title for global font change [CHAR LIMIT=40] --> + <string name="global_font_change_title">Change font size</string> + <!-- Label for are-notifications-enabled checkbox in app details [CHAR LIMIT=20] --> <string name="app_notifications_switch_label">Show notifications</string> diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml index cc526f9..d14446c 100644 --- a/res/xml/display_settings.xml +++ b/res/xml/display_settings.xml @@ -45,7 +45,7 @@ android:title="@string/screensaver_settings_title" android:fragment="com.android.settings.DreamSettings" /> - <ListPreference + <com.android.settings.WarnedListPreference android:key="font_size" android:title="@string/title_font_size" android:summary="@string/summary_font_size" diff --git a/res/xml/user_settings.xml b/res/xml/user_settings.xml index acb7c0f..457239a 100644 --- a/res/xml/user_settings.xml +++ b/res/xml/user_settings.xml @@ -21,7 +21,7 @@ <Preference android:key="user_me" android:summary="@string/user_owner" /> - <EditTextPreference + <com.android.settings.SelectableEditTextPreference android:key="user_nickname" android:title="@string/user_nickname" android:icon="@drawable/empty_icon" /> |