From 86aeb06635ef8c7f3fb1b4a935d5e8da819e2a88 Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Fri, 21 Oct 2011 13:29:58 -0400 Subject: Load lockscreen.disabled setting on database create as well as upgrade Signed-off-by: Mike Lockwood --- .../src/com/android/providers/settings/DatabaseHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index 381f821..8b1da1f 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -1593,6 +1593,9 @@ public class DatabaseHelper extends SQLiteOpenHelper { loadStringSetting(stmt, Settings.Secure.ACCESSIBILITY_SCREEN_READER_URL, R.string.def_accessibility_screen_reader_url); + + loadBooleanSetting(stmt, Settings.System.LOCKSCREEN_DISABLED, + R.bool.def_lockscreen_disabled); } finally { if (stmt != null) stmt.close(); } -- cgit v1.1