This commit is contained in:
wangcongtao
2020-04-01 19:06:55 +08:00
parent e89629a3d3
commit b32663da91
11 changed files with 47 additions and 45 deletions

View File

@@ -40,6 +40,8 @@ public class MogoApplication extends AbsMogoApplication {
@Override
public void onCreate() {
DebugConfig.setNetMode(BuildConfig.NET_ENV);
DebugConfig.setDebug(BuildConfig.DEBUG);
super.onCreate();
// Crash 日志收集
final long start = System.currentTimeMillis();
@@ -77,7 +79,5 @@ public class MogoApplication extends AbsMogoApplication {
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(base);
DebugConfig.setNetMode(BuildConfig.NET_ENV);
DebugConfig.setDebug(BuildConfig.DEBUG);
}
}