Use Constants.DEBUG instead of BuildConfig.DEBUG to allow debugging of release builds

This commit is contained in:
Dominik Schürmann
2018-02-26 14:39:54 +01:00
parent 3ea7eb3b2b
commit 6541cc57b5
3 changed files with 8 additions and 8 deletions

View File

@@ -178,7 +178,7 @@ public class KeychainApplication extends Application {
private void updateLoggingStatus() {
Timber.uprootAll();
boolean enableDebugLogging = BuildConfig.DEBUG;
boolean enableDebugLogging = Constants.DEBUG;
if (enableDebugLogging) {
Timber.plant(new DebugTree());
}