ACRA reports should be sent only in none-debug builds
This commit is contained in:
parent
8c24bb4b91
commit
99033ab216
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user