From d0c612b3fedd18e8bd2d68619c6fd54112c20196 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 5 Sep 2018 13:45:29 +0200 Subject: [PATCH] removing LeakCanary --- app/build.gradle | 3 --- app/src/main/kotlin/com/simplemobiletools/gallery/App.kt | 8 -------- 2 files changed, 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4ec414ba2..00b1c33f0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -70,9 +70,6 @@ dependencies { // implementation 'com.github.chrisbanes:PhotoView:2.1.4' 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() diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/App.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/App.kt index 665817fb5..e1562b1b4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/App.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/App.kt @@ -3,18 +3,10 @@ package com.simplemobiletools.gallery import android.support.multidex.MultiDexApplication import com.github.ajalt.reprint.core.Reprint import com.simplemobiletools.commons.extensions.checkUseEnglish -import com.squareup.leakcanary.LeakCanary class App : MultiDexApplication() { override fun onCreate() { super.onCreate() - if (BuildConfig.DEBUG) { - if (LeakCanary.isInAnalyzerProcess(this)) { - return - } - LeakCanary.install(this) - } - checkUseEnglish() Reprint.initialize(this) }