From a7f1e88d532c7c84128d398bc601c5d37ca87958 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 23 Feb 2022 12:39:01 +0100 Subject: [PATCH] Increase error report count for test releases --- app/src/main/java/eu/faircode/email/Log.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 86467ff2a2..80cf139542 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -157,7 +157,7 @@ public class Log { private static Context ctx; private static int level = android.util.Log.INFO; - private static final int MAX_CRASH_REPORTS = 5; + private static final int MAX_CRASH_REPORTS = (BuildConfig.TEST_RELEASE ? 50 : 5); private static final String TAG = "fairemail"; static final String TOKEN_REFRESH_REQUIRED =