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

Commit cd66caf0 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix an upgrade bug in SettingsProvider.

Bug: 2569112

Wrong usage of local method.

Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6
parent 290a48b3
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();
            }