1
0
Fork 0

For #10691 - Turn on LeakCanary by default for debug builds

master
ekager 2020-05-15 14:24:47 -07:00 committed by Emily Kager
parent dc92ddb0e5
commit 28a6b1f9d5
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ class DebugFenixApplication : FenixApplication() {
override fun setupLeakCanary() {
val isEnabled = PreferenceManager.getDefaultSharedPreferences(this)
.getBoolean(getPreferenceKey(R.string.pref_key_leakcanary), false)
.getBoolean(getPreferenceKey(R.string.pref_key_leakcanary), true)
updateLeakCanaryState(isEnabled)
}

View File

@ -133,7 +133,7 @@
android:title="@string/preferences_addons" />
<androidx.preference.SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:icon="@drawable/ic_info"
android:key="@string/pref_key_leakcanary"
android:title="@string/preference_leakcanary"

View File

@ -7,7 +7,7 @@ object Versions {
const val coroutines = "1.3.3"
const val android_gradle_plugin = "3.5.0"
const val sentry = "1.7.10"
const val leakcanary = "2.2"
const val leakcanary = "2.3"
const val leanplum = "5.2.3"
const val osslicenses_plugin = "0.9.5"
const val osslicenses_library = "17.0.0"