diff --git a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java index f3cbb21e..d18f28ab 100644 --- a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java +++ b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java @@ -395,6 +395,7 @@ public class DatabaseHelper extends SQLiteOpenHelper { String query = "SELECT ID AS _id, *"; query += " FROM access WHERE uid = ?"; query += " ORDER BY time DESC"; + query += " LIMIT 50"; return db.rawQuery(query, new String[]{Integer.toString(uid)}); }