diff options
author | Roman Birg <roman@cyngn.com> | 2015-12-16 15:38:18 -0800 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2015-12-16 15:41:49 -0800 |
commit | ae6f0928cfb563bb29d0a2699a5618b856d24c9d (patch) | |
tree | e9772264f0bf53a590bc63a6c6bf179b67a4688f | |
parent | 00ee33759969313c0e28cdb650a3af01211e545d (diff) | |
download | packages_apps_Settings-ae6f0928cfb563bb29d0a2699a5618b856d24c9d.tar.gz packages_apps_Settings-ae6f0928cfb563bb29d0a2699a5618b856d24c9d.tar.bz2 packages_apps_Settings-ae6f0928cfb563bb29d0a2699a5618b856d24c9d.zip |
Settings: add lock screen visualizer toggle
Change-Id: I7aaa972ba521bebbef7f47bbe502fb6e4f0c3a6a
Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r-- | res/values/cm_strings.xml | 3 | ||||
-rw-r--r-- | res/xml/security_settings_lockscreen.xml | 5 | ||||
-rw-r--r-- | res/xml/security_settings_password.xml | 5 | ||||
-rw-r--r-- | res/xml/security_settings_pattern.xml | 5 | ||||
-rw-r--r-- | res/xml/security_settings_pin.xml | 5 |
5 files changed, 23 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 9ec69cc33..a3ba133d6 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -721,6 +721,9 @@ <string name="lockscreen_vibrate_enabled_title">Vibrate</string> <string name="lockscreen_vibrate_enabled_head">Vibrate when unlocking</string> + <!-- lock screen visualizer --> + <string name="lockscreen_visualizer_title">Display music visualizer</string> + <!-- Battery saver --> <string name="battery_saver_threshold">Battery saver threshold</string> <string name="battery_saver_summary">Reduce performance and limit background data</string> diff --git a/res/xml/security_settings_lockscreen.xml b/res/xml/security_settings_lockscreen.xml index d0f3e558a..1bfdd7b30 100644 --- a/res/xml/security_settings_lockscreen.xml +++ b/res/xml/security_settings_lockscreen.xml @@ -49,6 +49,11 @@ android:targetClass="com.android.systemui.cm.LockscreenShortcutsActivity" /> </PreferenceScreen> + <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference + android:key="lockscreen_visualizer" + android:title="@string/lockscreen_visualizer_title" + android:defaultValue="true"/> + </PreferenceCategory> </PreferenceScreen> diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml index c073fe007..a89eba5e1 100644 --- a/res/xml/security_settings_password.xml +++ b/res/xml/security_settings_password.xml @@ -47,6 +47,11 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> + <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference + android:key="lockscreen_visualizer" + android:title="@string/lockscreen_visualizer_title" + android:defaultValue="true"/> + <com.android.settings.SingleLineSummaryPreference android:key="owner_info_settings" android:title="@string/owner_info_settings_title" diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml index 918f3f0af..08cc1571d 100644 --- a/res/xml/security_settings_pattern.xml +++ b/res/xml/security_settings_pattern.xml @@ -52,6 +52,11 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> + <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference + android:key="lockscreen_visualizer" + android:title="@string/lockscreen_visualizer_title" + android:defaultValue="true"/> + <com.android.settings.SingleLineSummaryPreference android:key="owner_info_settings" android:title="@string/owner_info_settings_title" diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml index 9a29ad555..058086e8f 100644 --- a/res/xml/security_settings_pin.xml +++ b/res/xml/security_settings_pin.xml @@ -52,6 +52,11 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> + <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference + android:key="lockscreen_visualizer" + android:title="@string/lockscreen_visualizer_title" + android:defaultValue="true"/> + <com.android.settings.SingleLineSummaryPreference android:key="owner_info_settings" android:title="@string/owner_info_settings_title" |