mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
parent
6c367ac29c
commit
b8039af905
@ -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'
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user