Skip to content

Commit

Permalink
Enable ANR reporting for GitHub version
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Mar 16, 2024
1 parent d394658 commit 0210fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/eu/faircode/email/Log.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ private static void setupBugsnag(final Context context) {

ErrorTypes etypes = new ErrorTypes();
etypes.setUnhandledExceptions(true);
etypes.setAnrs(BuildConfig.DEBUG);
etypes.setAnrs(!BuildConfig.PLAY_STORE_RELEASE);
etypes.setNdkCrashes(false);
config.setEnabledErrorTypes(etypes);
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);
Expand Down

0 comments on commit 0210fa7

Please sign in to comment.