From a149f0db27bb52c4685f4315ca2491847f8e07b9 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 20 May 2018 18:01:47 +0200 Subject: [PATCH] set pragme secure delete properly --- .../eu/siacs/conversations/persistance/DatabaseBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java index 35f4bef3a..6071bbb7f 100644 --- a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java +++ b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java @@ -190,7 +190,7 @@ public class DatabaseBackend extends SQLiteOpenHelper { @Override public void onConfigure(SQLiteDatabase db) { db.execSQL("PRAGMA foreign_keys=ON"); - db.execSQL("PRAGMA secure_delete=ON"); + db.rawQuery("PRAGMA secure_delete=ON",null); } @Override