Enabled ANR reporting

This commit is contained in:
M66B 2019-08-14 08:53:20 +02:00
parent e5c6f34f9f
commit 3088b3d315
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ dependencies {
// https://github.com/bugsnag/bugsnag-android // 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-anr"
exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk" exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk"
} }

View File

@ -165,7 +165,7 @@ public class Log {
config.setAutoCaptureSessions(false); config.setAutoCaptureSessions(false);
config.setDetectAnrs(false); config.setDetectAnrs(true);
config.setDetectNdkCrashes(false); config.setDetectNdkCrashes(false);
List<String> ignore = new ArrayList<>(); List<String> ignore = new ArrayList<>();