diff --git a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java index e2cc13cb..2b5313d6 100644 --- a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java +++ b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java @@ -107,6 +107,7 @@ public class DatabaseHelper extends SQLiteOpenHelper { synchronized (mContext.getApplicationContext()) { SQLiteDatabase db = this.getReadableDatabase(); db.delete("log", null, new String[]{}); + db.execSQL("VACUUM"); } for (LogChangedListener listener : logChangedListeners)