am 842d983c: Merge "Fix an upgrade bug in SettingsProvider." into froyo
Merge commit '842d983cc3158a3de77a897d071b5b9c18dd2b55' into froyo-plus-aosp * commit '842d983cc3158a3de77a897d071b5b9c18dd2b55': Fix an upgrade bug in SettingsProvider.
This commit is contained in:
@@ -789,7 +789,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||||||
+ " VALUES(?,?);");
|
+ " VALUES(?,?);");
|
||||||
|
|
||||||
// Set the timeout to 30 minutes in milliseconds
|
// 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 {
|
} finally {
|
||||||
if (stmt != null) stmt.close();
|
if (stmt != null) stmt.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user