1
0
Fork 0
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:
M66B 2022-09-24 07:59:57 +02:00
parent 0669d3c677
commit f576d6c8c1

View file

@ -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);