mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Set Traceur to only work in DEBUG mode (#1884)
This commit is contained in:
parent
6eb01b8076
commit
325e0168e3
1 changed files with 5 additions and 1 deletions
|
|
@ -72,7 +72,11 @@ public class CommonsApplication extends MultiDexApplication {
|
|||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
Traceur.enableLogging();
|
||||
if (BuildConfig.DEBUG) {
|
||||
//FIXME: Traceur should be disabled for release builds until error fixed
|
||||
//See https://github.com/commons-app/apps-android-commons/issues/1877
|
||||
Traceur.enableLogging();
|
||||
}
|
||||
|
||||
ApplicationlessInjection
|
||||
.getInstance(this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue