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

Commit feb976e6 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 842d983c: Merge "Fix an upgrade bug in SettingsProvider." into froyo

Merge commit '842d983c' into froyo-plus-aosp

* commit '842d983c':
  Fix an upgrade bug in SettingsProvider.
parents 34b2ecc8 842d983c
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();
            }