Merge pull request #72 from nopjmp/dev

Basic LeakCanary Support
filtering
Floens 10 years ago
commit ae1f4ffda4
  1. 3
      Clover/app/build.gradle
  2. 2
      Clover/app/src/main/java/org/floens/chan/ChanApplication.java

@ -83,5 +83,8 @@ dependencies {
compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'de.greenrobot:eventbus:2.4.0'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'
compile files('libs/httpclientandroidlib-1.2.1.jar')
}

@ -26,6 +26,7 @@ import android.view.ViewConfiguration;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.Volley;
import com.squareup.leakcanary.LeakCanary;
import org.floens.chan.chan.ChanUrls;
import org.floens.chan.core.manager.BoardManager;
@ -107,6 +108,7 @@ public class ChanApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
LeakCanary.install(this);
// Force the overflow button to show, even on devices that have a
// physical button.

Loading…
Cancel
Save