summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDanesh M <danesh@cyngn.com>2016-05-19 12:07:08 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-19 12:52:45 -0700
commit9dc803c7bda8930a8e903614177b8a93ae5d6b4a (patch)
tree33e567d15a958f724ec04c056a9ecc39215292af /res
parent3a532e7d448a78500448956ec52ff24f835f9733 (diff)
downloadpackages_apps_Settings-9dc803c7bda8930a8e903614177b8a93ae5d6b4a.zip
packages_apps_Settings-9dc803c7bda8930a8e903614177b8a93ae5d6b4a.tar.gz
packages_apps_Settings-9dc803c7bda8930a8e903614177b8a93ae5d6b4a.tar.bz2
Settings : Add title to xml preference screens
Search indexing was inserting null as the title, which results in the default "Settings" title if the user selects a search result. This is inconsistent with the title the user sees when they manually navigate to that preference screen. FEIJ-512 Change-Id: I6f6ed7b851c998aa2cb5531bef04e8000ccb8ddd
Diffstat (limited to 'res')
-rw-r--r--res/xml/advanced_apps.xml1
-rw-r--r--res/xml/button_settings.xml1
-rw-r--r--res/xml/default_apps.xml1
-rw-r--r--res/xml/display.xml1
-rw-r--r--res/xml/notification_manager_settings.xml1
5 files changed, 5 insertions, 0 deletions
diff --git a/res/xml/advanced_apps.xml b/res/xml/advanced_apps.xml
index 70b6856..4809be6 100644
--- a/res/xml/advanced_apps.xml
+++ b/res/xml/advanced_apps.xml
@@ -17,6 +17,7 @@
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/configure_apps"
android:key="applications_settings">
<PreferenceScreen
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index 9a85b6f..68e1285 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -15,6 +15,7 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/button_pref_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<SwitchPreference
diff --git a/res/xml/default_apps.xml b/res/xml/default_apps.xml
index d5f9de0..41ab072 100644
--- a/res/xml/default_apps.xml
+++ b/res/xml/default_apps.xml
@@ -17,6 +17,7 @@
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/default_apps_title"
android:key="default_apps">
<Preference
diff --git a/res/xml/display.xml b/res/xml/display.xml
index e0dae5a..366263e 100644
--- a/res/xml/display.xml
+++ b/res/xml/display.xml
@@ -16,6 +16,7 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/display_and_lights"
settings:keywords="@string/keywords_display">
<PreferenceCategory
diff --git a/res/xml/notification_manager_settings.xml b/res/xml/notification_manager_settings.xml
index b45cb6b..a09eea4 100644
--- a/res/xml/notification_manager_settings.xml
+++ b/res/xml/notification_manager_settings.xml
@@ -15,6 +15,7 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/notification_manager"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<!-- Heads up -->