fix off-by-one error in update check for db-version/56

We missed an off-by-one in my previous DB change:
90467bf8bf2f8e4a46cb1db563154df4035bf746

This causes the installed app parsing to happen on each start when on any
build that is on db-version/56.  Its not a big deal since the broken code
was not shipped at all, even in an alpha.
This commit is contained in:
Hans-Christoph Steiner 2016-06-10 10:46:06 +02:00
parent 5523a443f8
commit 89e2c9948a

View File

@ -566,7 +566,7 @@ class DBHelper extends SQLiteOpenHelper {
* table for the first time. * table for the first time.
*/ */
private void recreateInstalledAppTable(SQLiteDatabase db, int oldVersion) { private void recreateInstalledAppTable(SQLiteDatabase db, int oldVersion) {
if (oldVersion >= 57) { if (oldVersion >= 56) {
return; return;
} }
Utils.debugLog(TAG, "(re)creating 'installed app' database table."); Utils.debugLog(TAG, "(re)creating 'installed app' database table.");