Remove LeakCanary

Fixes #3473
// FREEBIE
fork-5.53.8
Moxie Marlinspike 2015-06-25 11:44:03 -07:00
rodzic 6c367ac29c
commit b8039af905
2 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -69,8 +69,6 @@ dependencies {
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'org.whispersystems:textsecure-android:1.6.0'
compile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'

Wyświetl plik

@ -22,8 +22,6 @@ import android.os.StrictMode;
import android.os.StrictMode.ThreadPolicy;
import android.os.StrictMode.VmPolicy;
import com.squareup.leakcanary.LeakCanary;
import org.thoughtcrime.securesms.crypto.PRNGFixes;
import org.thoughtcrime.securesms.dependencies.AxolotlStorageModule;
import org.thoughtcrime.securesms.dependencies.InjectableType;
@ -82,7 +80,7 @@ public class ApplicationContext extends Application implements DependencyInjecto
private void initializeDeveloperBuild() {
if (BuildConfig.DEV_BUILD) {
LeakCanary.install(this);
// LeakCanary.install(this);
StrictMode.setThreadPolicy(new ThreadPolicy.Builder().detectAll()
.penaltyLog()
.build());