From 2fc55d0944d5223d12d7ef66cfec930d23cb3ae4 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 14 May 2016 17:50:38 +0200 Subject: [PATCH] Send crash reports when debug version only --- app/src/main/java/eu/faircode/netguard/Util.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/netguard/Util.java b/app/src/main/java/eu/faircode/netguard/Util.java index 408cec85..94f2d4eb 100644 --- a/app/src/main/java/eu/faircode/netguard/Util.java +++ b/app/src/main/java/eu/faircode/netguard/Util.java @@ -571,6 +571,8 @@ public class Util { public static void sendCrashReport(Throwable ex, final Context context) { if (!isPlayStoreInstall(context)) return; + if (!(Util.isDebuggable(context) || Util.getSelfVersionName(context).contains("beta"))) + return; try { ApplicationErrorReport report = new ApplicationErrorReport();