[2.13.0-arch-opt] remove unuse code and add trace log

This commit is contained in:
zhongchao
2023-02-22 19:10:03 +08:00
parent 088be3f4fb
commit dbb62bbe04
9 changed files with 29 additions and 40 deletions

View File

@@ -1,7 +1,6 @@
package com.mogo.test.crashreport.apm;
import android.content.Context;
import android.util.Log;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.apm.insight.AttachUserData;
@@ -59,7 +58,6 @@ public class ApmCrashReportProvider implements ITestCrashReportProvider {
boolean isDebug = DebugConfig.isDebug();
if (provider != null) {
Boolean enabled = provider.isDebugEnabled();
Log.d("ApmCrashReportProvider", "--- isDebugEnabled:" + enabled);
if (enabled != null) {
isDebug = enabled;
}
@@ -80,7 +78,6 @@ public class ApmCrashReportProvider implements ITestCrashReportProvider {
mCityCode = SharedPrefsMgr.getInstance(context).getString(SharedPrefsConstants.LOCATION_CITY_CODE);
mLat = SharedPrefsMgr.getInstance(context).getString(SharedPrefsConstants.LOCATION_LATITUDE);
mLogt = SharedPrefsMgr.getInstance(context).getString(SharedPrefsConstants.LOCATION_LONGITUDE);
// Log.d(TAG, "cityCode = " + mCityCode + " --lat = " +mLat + " --logt = " + mLogt);
//地图版本
String mapSDKVersion = DebugConfig.getMapVersion();
map.put("MAP_SDK_VERSION", mapSDKVersion);