diff options
author | AdrianDC <radian.dc@gmail.com> | 2015-12-17 13:53:10 +0100 |
---|---|---|
committer | Adrian DC <radian.dc@gmail.com> | 2015-12-17 05:15:32 -0800 |
commit | b84189dd43798e764023ea2cd1b151c37e6eb137 (patch) | |
tree | 80fa1df54e02b1c20ba216c712c7df2dc0f4a673 /res/xml | |
parent | d73745da2f4b17226942e8245a7a24e8040fb179 (diff) | |
download | packages_apps_Settings-b84189dd43798e764023ea2cd1b151c37e6eb137.zip packages_apps_Settings-b84189dd43798e764023ea2cd1b151c37e6eb137.tar.gz packages_apps_Settings-b84189dd43798e764023ea2cd1b151c37e6eb137.tar.bz2 |
Settings: adapt lock screen visualizer toggle
* Do not show the Visualizer toggle for Screen lock : None
* Show the Visualizer toggle for Screen lock : Swipe
* Add a missing key field (Screen lock : Swipe)
Change-Id: I460693201142f0d7d5eb34dea91f4f5db33a00d4
Signed-off-by: AdrianDC <radian.dc@gmail.com>
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/security_settings_chooser.xml | 6 | ||||
-rw-r--r-- | res/xml/security_settings_lockscreen.xml | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/res/xml/security_settings_chooser.xml b/res/xml/security_settings_chooser.xml index 7e23992..a097abf 100644 --- a/res/xml/security_settings_chooser.xml +++ b/res/xml/security_settings_chooser.xml @@ -39,12 +39,18 @@ android:summary="@string/owner_info_settings_summary"/> <PreferenceScreen + android:key="lockscreen_shortcuts_settings" android:title="@string/lockscreen_targets_message" > <intent android:targetPackage="com.android.systemui" 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_lockscreen.xml b/res/xml/security_settings_lockscreen.xml index 1bfdd7b..d0f3e55 100644 --- a/res/xml/security_settings_lockscreen.xml +++ b/res/xml/security_settings_lockscreen.xml @@ -49,11 +49,6 @@ 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> |