mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-23 12:53:08 +00:00
remove outdated leakCanary calls
This commit is contained in:
parent
10b292395c
commit
55433cf234
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue