OmniGears: Add lockscreen visualizer toggle
Change-Id: If9fa1b47567d3b310c16b178af09d08a1a485ade
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 10cc082..d698af8 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -811,4 +811,8 @@
<string name="style_settings_summary">Customize the look and feel</string>
<string name="custom_bars_settings_title">Bars</string>
+ <!-- Lock screen visualizer -->
+ <string name="lockscreen_visualizer_title">Music visualizer</string>
+ <string name="lockscreen_visualizer_summary">Show visualizer on lockscreen when music is playing</string>
+
</resources>
diff --git a/res/xml/lockscreenitems.xml b/res/xml/lockscreenitems.xml
index d4ec18d..6be6ecb 100644
--- a/res/xml/lockscreenitems.xml
+++ b/res/xml/lockscreenitems.xml
@@ -19,6 +19,12 @@
android:title="@string/lockscreen_item_title"
android:key="lockscreen_item">
+ <org.omnirom.omnilib.preference.SecureSettingSwitchPreference
+ android:key="lockscreen_visualizer_enabled"
+ android:title="@string/lockscreen_visualizer_title"
+ android:summary="@string/lockscreen_visualizer_summary"
+ android:defaultValue="false" />
+
<org.omnirom.omnilib.preference.SystemSettingSwitchPreference
android:key="lockscreen_weather_enabled"
android:title="@string/lockscreen_weather_title"