Do not init ACRA if inside its own process
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#applicationoncreate
This commit is contained in:
parent
1b9f5989ef
commit
21d1f69d6d
1 changed files with 4 additions and 0 deletions
|
@ -204,6 +204,10 @@ public class App extends Application {
|
||||||
* Should be overridden if MultiDex is enabled, since it has to be initialized before ACRA.
|
* Should be overridden if MultiDex is enabled, since it has to be initialized before ACRA.
|
||||||
*/
|
*/
|
||||||
protected void initACRA() {
|
protected void initACRA() {
|
||||||
|
if (ACRA.isACRASenderServiceProcess()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final CoreConfiguration acraConfig = new CoreConfigurationBuilder(this)
|
final CoreConfiguration acraConfig = new CoreConfigurationBuilder(this)
|
||||||
.setReportSenderFactoryClasses(REPORT_SENDER_FACTORY_CLASSES)
|
.setReportSenderFactoryClasses(REPORT_SENDER_FACTORY_CLASSES)
|
||||||
|
|
Loading…
Reference in a new issue