set pragme secure delete properly

This commit is contained in:
Daniel Gultsch 2018-05-20 18:01:47 +02:00
parent df64d965a0
commit a149f0db27

View file

@ -190,7 +190,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
@Override @Override
public void onConfigure(SQLiteDatabase db) { public void onConfigure(SQLiteDatabase db) {
db.execSQL("PRAGMA foreign_keys=ON"); db.execSQL("PRAGMA foreign_keys=ON");
db.execSQL("PRAGMA secure_delete=ON"); db.rawQuery("PRAGMA secure_delete=ON",null);
} }
@Override @Override