[2.15.0] fix roma

This commit is contained in:
zhongchao
2023-04-20 16:11:05 +08:00
parent ef347a66cc
commit c8de2a7622
2 changed files with 4 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.hmi.ui.widget
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.widget.ImageView
@@ -70,7 +71,9 @@ class SingleTrafficLightView @JvmOverloads constructor(
*/
override fun showTrafficLight(checkLightId: TrafficLightEnum, lightSource: DataSourceType) {
super.showTrafficLight(checkLightId, lightSource)
// Log.i("emArrow","showTrafficLight checkLightId:$checkLightId, lightSource: $lightSource")
UiThreadHandler.post {
// Log.i("emArrow","update checkLightId:$checkLightId, lightSource: $lightSource")
mCurrentLightId = checkLightId
if (!HmiBuildConfig.isShowTrafficLightView) {
updateTrafficLightIcon(checkLightId, lightSource)

View File

@@ -227,16 +227,14 @@ class AiCloudIdentifyDataManager : IMogoMapListener, IReceivedMsgListener,
}
private fun updateRomaStyle(auto: Boolean, route: String? = null) {
MapBizTrace.log(TAG, "updateRomaStyle auto status:$auto, route:${route?:"route reset null"}")
MapBizTrace.log(TAG, "updateRomaStyle auto status:$auto, route:${route?:"reset null"}")
route?.let {
CallerMapUIServiceManager.getMapUIController()?.setRoamTrajectory(route)
}
if (auto) {
FunctionBuildConfig.romaModeStyle = 0
MogoMapUIController.getInstance().setRomaMode(FunctionBuildConfig.romaModeStyle)
} else {
FunctionBuildConfig.romaModeStyle = 1
MogoMapUIController.getInstance().setRomaMode(FunctionBuildConfig.romaModeStyle)
}
}