Conditionally show settings.
Change-Id: I8e62ed6e2515b76de73d3d25adcfb121f809c646
diff --git a/res/xml/app_notification_settings.xml b/res/xml/app_notification_settings.xml
index 6e27a07..5f00caf 100644
--- a/res/xml/app_notification_settings.xml
+++ b/res/xml/app_notification_settings.xml
@@ -30,7 +30,12 @@
<Preference
android:key="app_settings"
android:title="@string/app_notification_preferences"
- android:order="5"
+ android:order="2"
android:persistent="false" />
+ <PreferenceCategory
+ android:key="categories"
+ android:title="@string/notification_topic_categories"
+ android:order="3" />
+
</PreferenceScreen>
diff --git a/res/xml/topic_notification_settings.xml b/res/xml/topic_notification_settings.xml
index 174c273..d5f28b3 100644
--- a/res/xml/topic_notification_settings.xml
+++ b/res/xml/topic_notification_settings.xml
@@ -21,7 +21,7 @@
<!-- Importance -->
<com.android.settings.notification.ImportanceSeekBarPreference
android:key="importance"
- android:title="@string/app_notification_importance_title"
+ android:title="@string/notification_importance_title"
android:order="1"
android:persistent="false" />