From 36f73d4c7e881a3ec42da5403a6bf18155cf717e Mon Sep 17 00:00:00 2001 From: Sam Steele Date: Fri, 31 Mar 2017 09:26:14 -0400 Subject: [PATCH] remove LeakCanary --- build.gradle | 6 ------ irccloud-android.iml | 1 - release-src/com/irccloud/android/IRCCloudApplication.java | 5 ----- res/xml/preferences_debug.xml | 6 ------ src/com/irccloud/android/NetworkConnection.java | 2 +- src/com/irccloud/android/RemoteInputService.java | 8 -------- .../irccloud/android/activity/PreferencesActivity.java | 2 +- src/com/irccloud/android/fragment/AcceptListFragment.java | 1 - src/com/irccloud/android/fragment/AddChannelFragment.java | 1 - .../irccloud/android/fragment/BufferOptionsFragment.java | 1 - .../irccloud/android/fragment/BuffersListFragment.java | 4 ---- .../irccloud/android/fragment/ChannelListFragment.java | 1 - .../android/fragment/ChannelModeListFragment.java | 1 - .../irccloud/android/fragment/ChannelOptionsFragment.java | 1 - .../irccloud/android/fragment/EditConnectionFragment.java | 1 - src/com/irccloud/android/fragment/IgnoreListFragment.java | 1 - .../irccloud/android/fragment/MessageViewFragment.java | 4 ---- src/com/irccloud/android/fragment/NamesListFragment.java | 1 - src/com/irccloud/android/fragment/NickservFragment.java | 3 ++- src/com/irccloud/android/fragment/UsersListFragment.java | 4 ---- src/com/irccloud/android/fragment/WhoListFragment.java | 1 - src/com/irccloud/android/fragment/WhoisFragment.java | 3 ++- 22 files changed, 6 insertions(+), 52 deletions(-) diff --git a/build.gradle b/build.gradle index 370b563cc..01d465343 100644 --- a/build.gradle +++ b/build.gradle @@ -348,10 +348,4 @@ dependencies { transitive = true; } compile fileTree(include: ['*.jar'], dir: 'libs') - //debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-SNAPSHOT' - - //enterprisedebugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-SNAPSHOT' - compile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' - enterprisereleaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' - debugTestCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' } diff --git a/irccloud-android.iml b/irccloud-android.iml index 4e93644e8..a609d57fb 100644 --- a/irccloud-android.iml +++ b/irccloud-android.iml @@ -112,7 +112,6 @@ - diff --git a/release-src/com/irccloud/android/IRCCloudApplication.java b/release-src/com/irccloud/android/IRCCloudApplication.java index 28507de96..6e6773ce7 100644 --- a/release-src/com/irccloud/android/IRCCloudApplication.java +++ b/release-src/com/irccloud/android/IRCCloudApplication.java @@ -17,7 +17,6 @@ package com.irccloud.android; import android.content.Context; -import com.squareup.leakcanary.RefWatcher; @SuppressWarnings("unused") public class IRCCloudApplication extends IRCCloudApplicationBase { @@ -31,10 +30,6 @@ public static IRCCloudApplication getInstance() { } } - public static RefWatcher getRefWatcher(Context context) { - return RefWatcher.DISABLED; - } - @Override public void onCreate() { instance = this; diff --git a/res/xml/preferences_debug.xml b/res/xml/preferences_debug.xml index 3c36efb63..54fb20cbf 100644 --- a/res/xml/preferences_debug.xml +++ b/res/xml/preferences_debug.xml @@ -17,12 +17,6 @@ -