Merge branch 'dev/dev_eagle_architecture_upgrade' into dev/dev_eagle_wuhan_sikua_obu
This commit is contained in:
@@ -39,11 +39,13 @@ import com.mogo.utils.ProcessUtils;
|
||||
import com.mogo.utils.logger.LogLevel;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
import com.mogo.utils.storage.SharedPrefsMgr;
|
||||
import com.squareup.leakcanary.LeakCanary;
|
||||
import com.squareup.leakcanary.RefWatcher;
|
||||
//import com.squareup.leakcanary.LeakCanary;
|
||||
//import com.squareup.leakcanary.RefWatcher;
|
||||
import com.zhidao.boot.persistent.lib.PersistentManager;
|
||||
import com.zhidao.mogo.module.left.panel.LeftPanelConst;
|
||||
|
||||
import leakcanary.LeakCanary;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2019-12-18
|
||||
@@ -55,7 +57,7 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
private static final String TAG = "MogoApplication";
|
||||
|
||||
private long start;
|
||||
private volatile static RefWatcher refWatcher;
|
||||
// private volatile static RefWatcher refWatcher;
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
@@ -313,9 +315,9 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
startService(intent);
|
||||
}
|
||||
|
||||
if (refWatcher == null) {
|
||||
refWatcher = LeakCanary.install(this);
|
||||
}
|
||||
// if (refWatcher == null) {
|
||||
// refWatcher = LeakCanary.install(this);
|
||||
// }
|
||||
|
||||
// 初始化 bugly 升级
|
||||
ARouter.getInstance().navigation(UpgradeReportProvider.class);
|
||||
|
||||
Reference in New Issue
Block a user