From c2e766b26ed404b5f1764e472060c35a6193e549 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 6 Sep 2018 11:01:59 +0200 Subject: [PATCH] removing LeakCanary --- app/build.gradle | 7 ------- app/src/main/kotlin/com/simplemobiletools/calendar/App.kt | 5 ----- 2 files changed, 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 51b139cf7..ae588bbc7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,18 +41,11 @@ android { } } -ext { - leakCanaryVersion = '1.5.4' -} - dependencies { implementation 'com.simplemobiletools:commons:4.6.10' implementation 'joda-time:joda-time:2.9.9' implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.android.support:multidex:1.0.3' - - 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/calendar/App.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt index 382012eaa..48f52c694 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt @@ -3,16 +3,11 @@ package com.simplemobiletools.calendar import android.support.multidex.MultiDexApplication import com.facebook.stetho.Stetho 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) Stetho.initializeWithDefaults(this) }