From 96dc7194b1b06b4cadb3f343965115c5b6ab797c Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 26 Jul 2020 09:37:03 +0200 Subject: [PATCH] Debugging --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index aed35482e1..26e1de0279 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -72,7 +72,8 @@ public class ApplicationEx extends Application { getMainLooper().setMessageLogging(new Printer() { @Override public void println(String msg) { - Log.d("Loop: " + msg); + if (BuildConfig.DEBUG) + Log.d("Loop: " + msg); } });