From 63d3702af336ab0ae5f54bed6efb6e5c577c2e84 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 1 Sep 2018 23:34:04 +0200 Subject: [PATCH] removing LeakCanary --- app/build.gradle | 7 ------- app/src/main/kotlin/com/simplemobiletools/contacts/App.kt | 5 ----- 2 files changed, 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bc6d47dd..16f18252 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,19 +40,12 @@ android { } } -ext { - leakCanaryVersion = '1.5.4' -} - dependencies { implementation 'com.simplemobiletools:commons:4.7.1' implementation 'joda-time:joda-time:2.9.9' implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' compile 'com.googlecode.ez-vcard:ez-vcard:0.10.4' - - 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/contacts/App.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/App.kt index 354a793f..482c5976 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/App.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/App.kt @@ -3,16 +3,11 @@ package com.simplemobiletools.contacts import android.app.Application import com.facebook.stetho.Stetho 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) Stetho.initializeWithDefaults(this) }