mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Disable ACRA on debug builds
This commit is contained in:
parent
6b89647a4c
commit
411bfb3df8
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ public class CommonsApplication extends Application {
|
|||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
ACRA.init(this);
|
||||
if (!BuildConfig.DEBUG) {
|
||||
ACRA.init(this);
|
||||
}
|
||||
// Fire progress callbacks for every 3% of uploaded content
|
||||
System.setProperty("in.yuvi.http.fluent.PROGRESS_TRIGGER_THRESHOLD", "3.0");
|
||||
api = createMWApi();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue