Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 842d983c authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Fix an upgrade bug in SettingsProvider." into froyo

parents c30890e1 cd66caf0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
            }