去除log信息
This commit is contained in:
@@ -282,7 +282,7 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
startService(intent);
|
||||
}
|
||||
|
||||
if (refWatcher != null){
|
||||
if (refWatcher == null){
|
||||
refWatcher = LeakCanary.install(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ class BuglyCrashReportProvider implements ITestCrashReportProvider {
|
||||
CrashReport.initCrashReport( context, "f3f8b0b2f1", true, strategy );
|
||||
CrashReport.putUserData( context, "serial", MoGoAiCloudClientConfig.getInstance().getSn() );
|
||||
String mapSDKVersion = AppUtils.getCustomMapSDKVersion(context);
|
||||
Log.e("lianglihui", "init: "+mapSDKVersion);
|
||||
CrashReport.putUserData( context, "MAP_SDK_VERSION",mapSDKVersion );
|
||||
}
|
||||
|
||||
|
||||
@@ -2,11 +2,13 @@ package com.mogo.test.crashreport.upgrade;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.alibaba.android.arouter.facade.annotation.Route;
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
|
||||
import com.mogo.commons.network.Utils;
|
||||
import com.mogo.utils.AppUtils;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
import com.tencent.bugly.Bugly;
|
||||
import com.tencent.bugly.crashreport.CrashReport;
|
||||
@@ -41,6 +43,8 @@ public class UpgradeReportProvider implements IProvider {
|
||||
CrashReport.putUserData(context, "serial", MoGoAiCloudClientConfig.getInstance().getSn());
|
||||
|
||||
Bugly.init(context, "f3f8b0b2f1", true, strategy);
|
||||
String mapSDKVersion = AppUtils.getCustomMapSDKVersion(context);
|
||||
CrashReport.putUserData( context, "MAP_SDK_VERSION",mapSDKVersion );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user