OSDN Git Service

Keyguard: Get your weather on... the lock screen [3/3]
authord34d <clark@cyngn.com>
Mon, 6 Jun 2016 16:45:48 +0000 (09:45 -0700)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Thu, 9 Jun 2016 21:10:50 +0000 (14:10 -0700)
Change-Id: I9b411c86ea02dd95379fe6fcd1814c81c1c7ef0b

res/values/cm_strings.xml
res/xml/security_settings_chooser.xml
res/xml/security_settings_password.xml
res/xml/security_settings_pattern.xml
res/xml/security_settings_pin.xml

index a0e811b..e111154 100644 (file)
 
     <!-- title for lock screen blur preference -->
     <string name="lockscreen_blur_enabled_title">Lock screen blur</string>
+    <!-- title for lock screen weather preference -->
+    <string name="lockscreen_weather_enabled_title">Show weather</string>
 
     <!-- Per app controls for LP keyguard notifications -->
     <string name="app_notification_show_on_keyguard_title">Show on lock screen</string>
index cad2534..0f8a9bc 100644 (file)
             android:title="@string/lockscreen_blur_enabled_title"
             android:defaultValue="true"/>
 
+        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
+            android:key="lock_screen_weather_enabled"
+            android:title="@string/lockscreen_weather_enabled_title"
+            android:defaultValue="false"/>
+
     </PreferenceCategory>
 
 </PreferenceScreen>
index f926378..cecb26d 100644 (file)
             android:title="@string/lockscreen_blur_enabled_title"
             android:defaultValue="true"/>
 
+        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
+            android:key="lock_screen_weather_enabled"
+            android:title="@string/lockscreen_weather_enabled_title"
+            android:defaultValue="false"/>
+
     </PreferenceCategory>
 
 </PreferenceScreen>
index 1e04839..a4d77d5 100644 (file)
             android:title="@string/lockscreen_blur_enabled_title"
             android:defaultValue="true"/>
 
+        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
+            android:key="lock_screen_weather_enabled"
+            android:title="@string/lockscreen_weather_enabled_title"
+            android:defaultValue="false"/>
+
     </PreferenceCategory>
 
 </PreferenceScreen>
index c5d849d..869c16b 100644 (file)
             android:title="@string/lockscreen_blur_enabled_title"
             android:defaultValue="true"/>
 
+        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
+            android:key="lock_screen_weather_enabled"
+            android:title="@string/lockscreen_weather_enabled_title"
+            android:defaultValue="false"/>
+
     </PreferenceCategory>
 
 </PreferenceScreen>