Fix #696 Database upgrade

Do nothing more after recreating the database
This commit is contained in:
stefan-niedermann 2020-01-22 21:11:09 +01:00
parent a4f798164e
commit 9158467dd0

View file

@ -269,10 +269,12 @@ public class NoteSQLiteOpenHelper extends SQLiteOpenHelper {
Log.e(TAG, "Previous URL could not be parsed. Recreating database...");
e.printStackTrace();
recreateDatabase(db);
return;
}
} else {
Log.e(TAG, "Previous URL is null. Recreating database...");
recreateDatabase(db);
return;
}
}
if (oldVersion < 10) {