Merge pull request #594 from maskaravivek/stetho

Making debugging easier with stetho
This commit is contained in:
Josephine Lim 2017-05-15 17:04:39 +02:00 committed by GitHub
commit 37c3004b57
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@ import com.android.volley.RequestQueue;
import com.android.volley.toolbox.BasicNetwork;
import com.android.volley.toolbox.DiskBasedCache;
import com.android.volley.toolbox.HurlStack;
import com.facebook.stetho.Stetho;
import com.nostra13.universalimageloader.cache.disc.impl.TotalSizeLimitedDiscCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
@ -97,6 +98,8 @@ public class CommonsApplication extends Application {
Timber.plant(new Timber.DebugTree());
Stetho.initializeWithDefaults(this);
if (!BuildConfig.DEBUG) {
ACRA.init(this);
}