mirror of https://github.com/M66B/NetGuard.git
Send crash reports when debug version only
This commit is contained in:
parent
f7d216be48
commit
2fc55d0944
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue