GameDatabase: Don't rescan when upgraded

This otherwise causes a crash because the Database gets closed too early.
This commit is contained in:
FearlessTobi 2020-04-22 04:26:48 +02:00 committed by bunnei
parent 81ef144837
commit 7833c16294

View File

@ -95,9 +95,6 @@ public final class GameDatabase extends SQLiteOpenHelper {
// Delete all the games
execSqlAndLog(database, SQL_DELETE_GAMES);
execSqlAndLog(database, SQL_CREATE_GAMES);
Log.verbose("[GameDatabase] Re-scanning library with new schema.");
scanLibrary(database);
}
public void resetDatabase(SQLiteDatabase database) {