mirror of https://github.com/M66B/FairEmail.git
Enable ANR reporting for GitHub version
This commit is contained in:
parent
d39465864a
commit
0210fa774a
|
@ -408,7 +408,7 @@ public class Log {
|
||||||
|
|
||||||
ErrorTypes etypes = new ErrorTypes();
|
ErrorTypes etypes = new ErrorTypes();
|
||||||
etypes.setUnhandledExceptions(true);
|
etypes.setUnhandledExceptions(true);
|
||||||
etypes.setAnrs(BuildConfig.DEBUG);
|
etypes.setAnrs(!BuildConfig.PLAY_STORE_RELEASE);
|
||||||
etypes.setNdkCrashes(false);
|
etypes.setNdkCrashes(false);
|
||||||
config.setEnabledErrorTypes(etypes);
|
config.setEnabledErrorTypes(etypes);
|
||||||
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);
|
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);
|
||||||
|
|
Loading…
Reference in New Issue