修复游戏详情由于Bundle的数据内容过大导致的闪退

引入TooLargeTool库(监控Bundle大小)
This commit is contained in:
kehaoyuan
2020-03-30 16:56:47 +08:00
parent 7828189ea0
commit dca7a44884
9 changed files with 16 additions and 11 deletions

View File

@ -4,6 +4,7 @@ import android.app.Application;
import com.facebook.stetho.Stetho;
import com.facebook.stetho.okhttp3.StethoInterceptor;
import com.gu.toolargetool.TooLargeTool;
import com.squareup.leakcanary.LeakCanary;
import okhttp3.OkHttpClient;
@ -29,7 +30,7 @@ public class Injection {
// init stetho
Stetho.initializeWithDefaults(application);
TooLargeTool.startLogging(application);
return true;
}