Fix an upgrade bug in SettingsProvider.
Bug: 2569112 Wrong usage of local method. Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6
This commit is contained in:
@@ -789,7 +789,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
+ " VALUES(?,?);");
|
||||
|
||||
// Set the timeout to 30 minutes in milliseconds
|
||||
loadIntegerSetting(stmt, Settings.System.SCREEN_OFF_TIMEOUT, 30 * 60 * 1000);
|
||||
loadSetting(stmt, Settings.System.SCREEN_OFF_TIMEOUT,
|
||||
Integer.toString(30 * 60 * 1000));
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user