mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Revert "Added option to enable sqlite unicode61 tokenizer"
This reverts commit 3811afe451.
This commit is contained in:
@@ -50,12 +50,8 @@ public class Fts5DbHelper extends SQLiteOpenHelper {
|
||||
}
|
||||
|
||||
static SQLiteDatabase getInstance(Context context) {
|
||||
boolean exists = context.getDatabasePath(DATABASE_NAME).exists();
|
||||
if (instance == null || !exists) {
|
||||
if (!exists)
|
||||
DB.getInstance(context).message().resetFts();
|
||||
if (instance == null)
|
||||
instance = new Fts5DbHelper(context);
|
||||
}
|
||||
return instance.getWritableDatabase();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user