mirror of https://github.com/M66B/FairEmail.git
Enable ANR reporting for debug versions
This commit is contained in:
parent
b072d9e9f1
commit
25077bf999
|
@ -366,7 +366,7 @@ dependencies {
|
|||
|
||||
// https://github.com/bugsnag/bugsnag-android
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@ public class Log {
|
|||
config.setAutoTrackSessions(false);
|
||||
|
||||
ErrorTypes etypes = new ErrorTypes();
|
||||
etypes.setAnrs(false);
|
||||
etypes.setAnrs(BuildConfig.DEBUG);
|
||||
etypes.setNdkCrashes(false);
|
||||
config.setEnabledErrorTypes(etypes);
|
||||
|
||||
|
|
Loading…
Reference in New Issue