comment out leak canary initialization
This commit is contained in:
parent
62e3f0428a
commit
1c7c95d579
1 changed files with 2 additions and 4 deletions
|
@ -2,20 +2,18 @@ package com.simplemobiletools.gallery
|
|||
|
||||
import android.support.multidex.MultiDexApplication
|
||||
import com.github.ajalt.reprint.core.Reprint
|
||||
import com.simplemobiletools.gallery.BuildConfig.USE_LEAK_CANARY
|
||||
import com.simplemobiletools.gallery.extensions.config
|
||||
import com.squareup.leakcanary.LeakCanary
|
||||
import java.util.*
|
||||
|
||||
class App : MultiDexApplication() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
if (USE_LEAK_CANARY) {
|
||||
/*if (USE_LEAK_CANARY) {
|
||||
if (LeakCanary.isInAnalyzerProcess(this)) {
|
||||
return
|
||||
}
|
||||
LeakCanary.install(this)
|
||||
}
|
||||
}*/
|
||||
|
||||
if (config.useEnglish) {
|
||||
val conf = resources.configuration
|
||||
|
|
Loading…
Reference in a new issue