ACRA reports should be sent only in none-debug builds

This commit is contained in:
serso 2015-01-30 10:18:09 +01:00
parent 8c24bb4b91
commit 99033ab216

View File

@ -127,7 +127,9 @@ public class CalculatorApplication extends android.app.Application implements Sh
@Override @Override
public void onCreate() { public void onCreate() {
ACRA.init(this); if (!BuildConfig.DEBUG) {
ACRA.init(this);
}
if (!App.isInitialized()) { if (!App.isInitialized()) {
App.init(this); App.init(this);