OSDN Git Service

Revert "settings: Remove lock screen blur stuff breaking build"
authorZhao Wei Liew <zhaoweiliew@gmail.com>
Tue, 17 Jan 2017 23:36:53 +0000 (07:36 +0800)
committerArne Coucheron <arco68@gmail.com>
Thu, 19 Jan 2017 23:48:09 +0000 (00:48 +0100)
Blur support is now back in the framework.
Also adjust the required overlay to fit the new one.

This reverts commit 695ef5ffa59ce9e5dc2934cf01db75c74ce8c786.

Change-Id: Ie9073ba0b0fcaebae7a0e2791e0d94d2a3f40fa4

res/xml/security_settings_password_sub.xml
res/xml/security_settings_pattern_sub.xml
res/xml/security_settings_pin_sub.xml
res/xml/security_settings_slide_sub.xml

index b9427f8..ace0c2d 100644 (file)
             android:title="@string/lockscreen_weather_enabled_title"
             android:defaultValue="false"/>
 
+        <cyanogenmod.preference.CMSecureSettingSwitchPreference
+            android:key="lock_screen_blur_enabled"
+            android:title="@string/lockscreen_blur_enabled_title"
+            android:defaultValue="true"
+            cm:requiresConfig="@*android:bool/config_uiBlurEnabled" />
+
 </PreferenceScreen>
index fe10af0..3b5855b 100644 (file)
             android:title="@string/lockscreen_weather_enabled_title"
             android:defaultValue="false"/>
 
+        <cyanogenmod.preference.CMSecureSettingSwitchPreference
+            android:key="lock_screen_blur_enabled"
+            android:title="@string/lockscreen_blur_enabled_title"
+            android:defaultValue="true"
+            cm:requiresConfig="@*android:bool/config_uiBlurEnabled" />
+
 </PreferenceScreen>
index 386d4e7..7ca8220 100644 (file)
             android:title="@string/lockscreen_weather_enabled_title"
             android:defaultValue="false"/>
 
+        <cyanogenmod.preference.CMSecureSettingSwitchPreference
+            android:key="lock_screen_blur_enabled"
+            android:title="@string/lockscreen_blur_enabled_title"
+            android:defaultValue="true"
+            cm:requiresConfig="@*android:bool/config_uiBlurEnabled" />
+
 </PreferenceScreen>
index 1d1c44d..1b08983 100644 (file)
             android:title="@string/lockscreen_weather_enabled_title"
             android:defaultValue="false"/>
 
+        <cyanogenmod.preference.CMSecureSettingSwitchPreference
+            android:key="lock_screen_blur_enabled"
+            android:title="@string/lockscreen_blur_enabled_title"
+            android:defaultValue="true"
+            cm:requiresConfig="@*android:bool/config_uiBlurEnabled" />
+
 </PreferenceScreen>