[2/2] OmniGears: config to hide status bar on lock screen
visibility can be toggled with tapping at the status bar
Change-Id: I6f103829d9ba0fc4de41090a04ed498496f0f664
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index d75e773..837fc56 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -231,7 +231,7 @@
<string name="lockscreen_shortcut_apps_title">Shortcuts</string>
<string name="lockscreen_shortcut_add">Add\u2026</string>
<string name="lockscreen_indicator_display_title">Show bottom status text</string>
- <string name="lockscreen_indicator_display_summary"></string>
+ <string name="lockscreen_indicator_display_summary">Show charging information and unlock hints</string>
<string name="lockscreen_camera_shortcut_enable_title">Show camera shortcut</string>
<string name="lockscreen_camera_shortcut_enable_summary">Visibility depends on system setup</string>
<string name="lockscreen_left_shortcut_enable_title">Show dialer or voice assist shortcut</string>
@@ -490,4 +490,7 @@
<string name="volume_button_force_media_title">Force media volume</string>
<string name="volume_button_force_media_summary">Media volume will be changed by default</string>
+
+ <string name="lockscreen_hide_status_bar_title">Hide status bar</string>
+ <string name="lockscreen_hide_status_bar_summary">Touch status bar to toggle visibility</string>
</resources>
diff --git a/res/xml/lockscreen_settings.xml b/res/xml/lockscreen_settings.xml
index f6555b8..a146218 100644
--- a/res/xml/lockscreen_settings.xml
+++ b/res/xml/lockscreen_settings.xml
@@ -76,6 +76,11 @@
android:title="@string/lockscreen_hide_media_title"
android:summary="@string/lockscreen_hide_media_summary" />
+ <org.omnirom.omnigears.preference.SecureSettingSwitchPreference
+ android:key="lockscreen_hide_status_bar"
+ android:title="@string/lockscreen_hide_status_bar_title"
+ android:summary="@string/lockscreen_hide_status_bar_summary"/>
+
</PreferenceCategory>
<!--