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

Commit 2203e532 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

am 04e6827a: Fix settings db update sequence

automerge: 281763ba

* commit '281763ba':
  Fix settings db update sequence
parents eb47ce60 281763ba
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -1829,6 +1829,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
        }

        if (upgradeVersion < 114) {
            if (mUserHandle == UserHandle.USER_OWNER) {
                db.beginTransaction();
                SQLiteStatement stmt = null;
                try {
@@ -1840,6 +1841,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
                    db.endTransaction();
                    if (stmt != null) stmt.close();
                }
            }
            upgradeVersion = 114;
        }
        // *** Remember to update DATABASE_VERSION above!