[6.6.0] update socket version and remove unuse code , plus add trace
This commit is contained in:
@@ -8,7 +8,6 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
||||
import com.mogo.eagle.core.network.MoGoRetrofitFactory
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||
import com.mogo.eagle.function.biz.v2x.V2XBizTrace
|
||||
import io.reactivex.android.schedulers.AndroidSchedulers
|
||||
import io.reactivex.disposables.Disposable
|
||||
import io.reactivex.schedulers.Schedulers
|
||||
@@ -48,7 +47,6 @@ class LineUploadManager private constructor(context: Context) : IMoGoAutopilotSt
|
||||
|
||||
override fun onAutopilotRouteLineId(lineId: Long) {
|
||||
super.onAutopilotRouteLineId(lineId)
|
||||
V2XBizTrace.onAck("onAutopilotRouteLineId", "lineId: $lineId")
|
||||
if (lineId > 0) {
|
||||
uploadLine(lineId)
|
||||
}
|
||||
|
||||
@@ -239,10 +239,9 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
uuid = e.uuid ?: ""
|
||||
}
|
||||
}
|
||||
Logger.d(TAG, "cameraIp: $cameraIp, heading:$heading, uuid: $uuid")
|
||||
val newEventId = "other_retrograde_vehicle_${event.eventId}"
|
||||
val isUseGps = event.gnssType != 0
|
||||
Logger.i(TAG, "isUseGps --> $isUseGps")
|
||||
V2XBizTrace.onAck(TAG, mapOf("cameraIp" to cameraIp, "heading" to heading, "uuid" to uuid, "isUseGps" to isUseGps, "newEventId" to newEventId), true)
|
||||
val eventLocation = arrayOf(event.longitude, event.latitude)
|
||||
val carLocation = if (isUseGps) CallerChassisLocationWGS84ListenerManager.getChassisLocationWGS84() else CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02()
|
||||
if (DrivingDirectionUtils.getDegreeOfCar2Poi(
|
||||
@@ -531,7 +530,6 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
}
|
||||
|
||||
private fun drawShiGong(events: List<TrackedObject>) {
|
||||
// V2XBizTrace.onAck(events,"onV2NShiGong", false)
|
||||
if (V2NCarTypeCheck.verifyCarType() && FunctionBuildConfig.v2nMainSwitch && FunctionBuildConfig.isNewV2NData) {
|
||||
handler.removeMessages(MSG_WHAT_DRAW_SHIGONE)
|
||||
handler.sendMessage(Message.obtain(handler, MSG_WHAT_DRAW_SHIGONE, events))
|
||||
@@ -539,7 +537,6 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
}
|
||||
|
||||
private fun drawShiGu(events: List<TrackedObject>) {
|
||||
// V2XBizTrace.onAck(events,"onV2NShiGu", false)
|
||||
if (V2NCarTypeCheck.verifyCarType() && FunctionBuildConfig.v2nMainSwitch && FunctionBuildConfig.isNewV2NData) {
|
||||
handler.removeMessages(MSG_WHAT_DRAW_SHIGU)
|
||||
handler.sendMessage(Message.obtain(handler, MSG_WHAT_DRAW_SHIGU, events))
|
||||
@@ -547,7 +544,6 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
}
|
||||
|
||||
private fun drawYongDu(events: List<MogoV2X.RTEData_PB>) {
|
||||
// V2XBizTrace.onAck(events,"onV2NYongDu", false)
|
||||
if (V2NCarTypeCheck.verifyCarType() && FunctionBuildConfig.v2nMainSwitch && FunctionBuildConfig.isNewV2NData) {
|
||||
handler.removeMessages(MSG_WHAT_DRAW_YONGDU)
|
||||
handler.sendMessage(Message.obtain(handler, MSG_WHAT_DRAW_YONGDU, events))
|
||||
|
||||
@@ -328,7 +328,7 @@ class MoGoAdasMsgConnectStatusListenerImpl :
|
||||
else -> {}
|
||||
}
|
||||
if (title.isNotEmpty() && content.isNotEmpty()) {
|
||||
CallerMsgBoxManager.saveMsgBox(
|
||||
CallerMsgBoxManager.saveMsgBoxNoTrace(
|
||||
MsgBoxBean(
|
||||
MsgBoxType.AUTOPILOT,
|
||||
AutopilotMsg(0, title, content, System.currentTimeMillis())
|
||||
|
||||
@@ -24,6 +24,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationWGS84Lis
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiViewControlListenerManager
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerRoadV2NEventWindowListenerManager
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.HmiActionLog
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import com.mogo.eagle.core.utilcode.mogo.glide.GlideImageLoader
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||
@@ -64,6 +65,7 @@ class RoadV2NEventWindowView @JvmOverloads constructor(
|
||||
ANALYTICS_KEY,
|
||||
map
|
||||
)
|
||||
HmiActionLog.hmiAction(TAG, msg)
|
||||
}
|
||||
CallerLogger.i(TAG, msg)
|
||||
}
|
||||
|
||||
@@ -256,14 +256,6 @@ class HttpDnsStartUp : AndroidStartup<Boolean>(), IMoGoCloudListener {
|
||||
ThreadPoolService.execute {
|
||||
// 初始化网络配置
|
||||
NetConfigUtils.init()
|
||||
// 加入启动统计
|
||||
// todo 钟超 登陆后调用 获取 app_flavor
|
||||
// val mStartParams: HashMap<String, Any> = HashMap()
|
||||
// mStartParams["start_time"] = TimeUtils.getNowMills()
|
||||
// mStartParams["app_version"] = AppUtils.getAppVersionName()
|
||||
// mStartParams["app_flavor"] = DebugConfig.getProductFlavor()
|
||||
// mStartParams["app_identity_mode"] = FunctionBuildConfig.appIdentityMode
|
||||
// MogoAnalyticUtils.track("app_start_time", mStartParams)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user