From 145dc94e0456334e4485ee25c47f4d7124c661dc Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 22 Jul 2019 19:06:09 +0200 Subject: [PATCH] Updated bugsnag --- app/build.gradle | 7 +++++-- app/src/main/java/eu/faircode/email/ApplicationEx.java | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4811068f27..a85247fade 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -149,7 +149,7 @@ dependencies { def openpgp_version = "12.0" def requery_version = "3.29.0" def badge_version = "1.1.22" - def bugsnag_version = "4.15.0" + def bugsnag_version = "4.17.0" def biweekly_version = "0.6.3" def photoview_version = "2.3.0" def relinker_version = "1.3.1" @@ -231,7 +231,10 @@ dependencies { implementation "me.leolin:ShortcutBadger:$badge_version" // https://github.com/bugsnag/bugsnag-android - implementation "com.bugsnag:bugsnag-android:$bugsnag_version" + implementation ("com.bugsnag:bugsnag-android:$bugsnag_version") { + exclude group: "com.bugsnag", module: "bugsnag-plugin-android-anr" + exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk" + } // https://github.com/mangstadt/biweekly implementation("net.sf.biweekly:biweekly:$biweekly_version") { diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index c31f28a1cd..8f2f947de0 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -158,6 +158,7 @@ public class ApplicationEx extends Application { config.setAutoCaptureSessions(false); config.setDetectAnrs(false); + config.setDetectNdkCrashes(false); List ignore = new ArrayList<>();