summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-04-21 13:31:52 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-04-21 15:55:26 +0530
commitb0774febb18186da6d52d12a37b9e8e8fde9a351 (patch)
treed24405b57bbf283e8082fede01326d06d91e79ad
parent500ab609737c9f297962ed6a1cd935a27f39517d (diff)
Application: only install logging tree in debug features build
We should be at a stability level now that does not require logging in prod Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/Application.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/Application.kt b/app/src/main/java/com/zeapo/pwdstore/Application.kt
index 166d2b3a..506fff9d 100644
--- a/app/src/main/java/com/zeapo/pwdstore/Application.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/Application.kt
@@ -21,8 +21,8 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
override fun onCreate() {
super.onCreate()
- plant(DebugTree())
if (BuildConfig.ENABLE_DEBUG_FEATURES) {
+ plant(DebugTree())
WhatTheStack(this).init()
}
prefs = PreferenceManager.getDefaultSharedPreferences(this)