Settings: Add option to launch statusbar tuner [2/2]
[ghostrider-reborn]
- Use Preference instead of PreferenceScreen for android 12
Change-Id: I301ac9416994449b941b5a9e0e9aa79a76f58281
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index ba345ff..19825c2 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -65,4 +65,8 @@
<string name="display_rotation_90_title">90 degrees</string>
<string name="display_rotation_180_title">180 degrees</string>
<string name="display_rotation_270_title">270 degrees</string>
+
+ <!-- Status bar -->
+ <string name="status_bar_title">Status bar</string>
+ <string name="status_bar_system_icons_summary">Control which status bar icons are shown</string>
</resources>
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
index 71919b3..4b84e4c 100644
--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -83,6 +83,13 @@
android:fragment="org.leafos.settings.qs.QSPanelSettings" />
<Preference
+ android:key="status_bar_icon_manager"
+ android:title="@string/status_bar_title"
+ android:summary="@string/status_bar_system_icons_summary">
+ <intent android:action="com.android.settings.action.STATUS_BAR_TUNER" />
+ </Preference>
+
+ <Preference
android:fragment="com.android.settings.accessibility.TextReadingPreferenceFragment"
android:key="text_reading_options"
android:persistent="false"