Android 6.0 去掉锁屏

+++ b/LINUX/android/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -2480,7 +2480,7 @@ class DatabaseHelper extends SQLiteOpenHelper {
             loadStringSetting(stmt, Settings.Secure.ACCESSIBILITY_SCREEN_READER_URL,
                     R.string.def_accessibility_screen_reader_url);
 
-            if (SystemProperties.getBoolean("ro.lockscreen.disable.default", true) == true) {
+            if (SystemProperties.getBoolean("ro.lockscreen.disable.default", false) == true) {
                 loadSetting(stmt, Settings.System.LOCKSCREEN_DISABLED, "1");
             } else {
                 loadBooleanSetting(stmt, Settings.System.LOCKSCREEN_DISABLED,

LINUX/android/frameworks/base/packages/SystemUI/res/values/config.xml

@@ -252,7 +252,7 @@
     0
 
     
-    true
+    false
 
     

 

你可能感兴趣的:(SystemUI)