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>
This commit is contained in:
parent
500ab60973
commit
b0774febb1
1 changed files with 1 additions and 1 deletions
|
@ -21,8 +21,8 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
plant(DebugTree())
|
|
||||||
if (BuildConfig.ENABLE_DEBUG_FEATURES) {
|
if (BuildConfig.ENABLE_DEBUG_FEATURES) {
|
||||||
|
plant(DebugTree())
|
||||||
WhatTheStack(this).init()
|
WhatTheStack(this).init()
|
||||||
}
|
}
|
||||||
prefs = PreferenceManager.getDefaultSharedPreferences(this)
|
prefs = PreferenceManager.getDefaultSharedPreferences(this)
|
||||||
|
|
Loading…
Reference in a new issue