remove outdated leakCanary calls

This commit is contained in:
Felix 2019-12-26 13:36:33 +01:00
parent 10b292395c
commit 55433cf234

View file

@ -1,13 +1,7 @@
package de.nicidienase.chaosflix package de.nicidienase.chaosflix
import com.facebook.stetho.Stetho import com.facebook.stetho.Stetho
import com.squareup.leakcanary.LeakCanary
fun buildTypeInit(application: ChaosflixApplication) { fun buildTypeInit(application: ChaosflixApplication) {
Stetho.initializeWithDefaults(application) Stetho.initializeWithDefaults(application)
if (!LeakCanary.isInAnalyzerProcess(application)) {
// This process is dedicated to LeakCanary for heap analysis.
// You should not init your app in this process.
LeakCanary.install(application)
}
} }