From 6b7b8e50b802b94611e95b2135a002dc5f83d079 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 3 Aug 2019 13:56:16 +0200 Subject: [PATCH] Reduce logging --- app/src/main/java/eu/faircode/email/DB.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/DB.java b/app/src/main/java/eu/faircode/email/DB.java index 416b53b6cb..501cac757f 100644 --- a/app/src/main/java/eu/faircode/email/DB.java +++ b/app/src/main/java/eu/faircode/email/DB.java @@ -137,7 +137,8 @@ public abstract class DB extends RoomDatabase { EntityLog.TABLE_NAME) { @Override public void onInvalidated(@NonNull Set tables) { - Log.i("ROOM invalidated=" + TextUtils.join(",", tables)); + if (BuildConfig.DEBUG) + Log.i("ROOM invalidated=" + TextUtils.join(",", tables)); } }); }