ACRA reports should be sent only in none-debug builds
This commit is contained in:
1 parent
8c24bb4b91
commit
99033ab216
1 file changed
+3
-1
+3
-1
@@ -127,7 +127,9 @@ public class CalculatorApplication extends android.app.Application implements Sh
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
ACRA.init(this);
|
||||
if (!BuildConfig.DEBUG) {
|
||||
ACRA.init(this);
|
||||
}
|
||||
|
||||
if (!App.isInitialized()) {
|
||||
App.init(this);
|
||||
|
||||
Reference in new issue
Block a user