[2/2] OmniGears: allow to switch back to pre P mobile type icon style
Change-Id: I731946fcfd644f33e8882e06dec41345ae8a897f
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 40a561a..ed46d9c 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -819,4 +819,9 @@
<string name="lockscreen_visualizer_enable_custom_summary">Use a preset color instead of the generated color</string>
<string name="lockscreen_visualizer_custom_color">Visualizer Color</string>
+ <!-- StatusBar -->
+ <string name="statusbar_settings_category">Status Bar</string>
+ <string name="use_old_mobiletype_title">Use old mobile type style</string>
+ <string name="use_old_mobiletype_summary">Merge signal and type icons</string>
+
</resources>
diff --git a/res/xml/bars_settings.xml b/res/xml/bars_settings.xml
index 8b2a44e..ced426f 100644
--- a/res/xml/bars_settings.xml
+++ b/res/xml/bars_settings.xml
@@ -35,6 +35,17 @@
</PreferenceCategory>
<PreferenceCategory
+ android:key="statusbar_settings_category"
+ android:title="@string/statusbar_settings_category">
+
+ <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
+ android:key="use_old_mobiletype"
+ android:title="@string/use_old_mobiletype_title"
+ android:summary="@string/use_old_mobiletype_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
android:key="aspect_ratio_category"
android:title="@string/aspect_ratio_category_title">