removing LeakCanary
This commit is contained in:
parent
0ebb25896b
commit
d0c612b3fe
2 changed files with 0 additions and 11 deletions
|
@ -70,9 +70,6 @@ dependencies {
|
||||||
|
|
||||||
// implementation 'com.github.chrisbanes:PhotoView:2.1.4'
|
// implementation 'com.github.chrisbanes:PhotoView:2.1.4'
|
||||||
implementation 'com.github.tibbi:PhotoView:2.1.4-fork'
|
implementation 'com.github.tibbi:PhotoView:2.1.4-fork'
|
||||||
|
|
||||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
|
||||||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Properties props = new Properties()
|
Properties props = new Properties()
|
||||||
|
|
|
@ -3,18 +3,10 @@ package com.simplemobiletools.gallery
|
||||||
import android.support.multidex.MultiDexApplication
|
import android.support.multidex.MultiDexApplication
|
||||||
import com.github.ajalt.reprint.core.Reprint
|
import com.github.ajalt.reprint.core.Reprint
|
||||||
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
||||||
import com.squareup.leakcanary.LeakCanary
|
|
||||||
|
|
||||||
class App : MultiDexApplication() {
|
class App : MultiDexApplication() {
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
if (BuildConfig.DEBUG) {
|
|
||||||
if (LeakCanary.isInAnalyzerProcess(this)) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
LeakCanary.install(this)
|
|
||||||
}
|
|
||||||
|
|
||||||
checkUseEnglish()
|
checkUseEnglish()
|
||||||
Reprint.initialize(this)
|
Reprint.initialize(this)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue