GameDatabase: Don't rescan when upgraded
This otherwise causes a crash because the Database gets closed too early.
This commit is contained in:
parent
df34cf70c0
commit
44df2aa4e8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user