mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Delete FTS DB on corruption
This commit is contained in:
@@ -174,4 +174,8 @@ public class FtsDbHelper extends SQLiteOpenHelper {
|
||||
Log.i("FTS optimize");
|
||||
db.execSQL("INSERT INTO message (message) VALUES ('optimize')");
|
||||
}
|
||||
|
||||
static void delete(Context context) {
|
||||
context.getDatabasePath(DATABASE_NAME).delete();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user