lets remove LeakCanary, it got too annoying

This commit is contained in:
tibbi 2018-08-26 10:50:18 +02:00
parent a83497355c
commit 64456481a5
2 changed files with 0 additions and 15 deletions

View File

@ -40,15 +40,8 @@ android {
}
}
ext {
leakCanaryVersion = '1.6.1'
}
dependencies {
implementation 'com.simplemobiletools:commons:4.7.0'
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
}
Properties props = new Properties()

View File

@ -2,18 +2,10 @@ package com.simplemobiletools.draw
import android.app.Application
import com.simplemobiletools.commons.extensions.checkUseEnglish
import com.squareup.leakcanary.LeakCanary
class App : Application() {
override fun onCreate() {
super.onCreate()
if (BuildConfig.DEBUG) {
if (LeakCanary.isInAnalyzerProcess(this)) {
return
}
LeakCanary.install(this)
}
checkUseEnglish()
}
}