mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 10:16:45 +00:00
Full check DB for Oppo
This commit is contained in:
parent
0669d3c677
commit
f576d6c8c1
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ public abstract class DB extends RoomDatabase {
|
|||
|
||||
// https://www.sqlite.org/pragma.html#pragma_integrity_check
|
||||
if (sqlite_integrity_check && dbfile.exists()) {
|
||||
String check = (Helper.isRedmiNote() || Helper.isOnePlus() || BuildConfig.DEBUG
|
||||
String check = (Helper.isRedmiNote() || Helper.isOnePlus() || Helper.isOppo() || BuildConfig.DEBUG
|
||||
? "integrity_check" : "quick_check");
|
||||
try (SQLiteDatabase db = SQLiteDatabase.openDatabase(dbfile.getPath(), null, SQLiteDatabase.OPEN_READWRITE)) {
|
||||
Log.i("PRAGMA " + check);
|
||||
|
|
Loading…
Reference in a new issue