[2.13.2] 修复闯红灯预警icon错误的问题

This commit is contained in:
lixiaopeng
2023-01-10 19:29:38 +08:00
parent ccf1f2efa5
commit 73f81141f1
2 changed files with 7 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ enum class EventTypeEnumNew(
),
//---------弱势交通参与者 obu and cloud end -------->
//--------------红绿灯 start -------> TODO 修改重复
//--------------红绿灯 start ------->
TYPE_USECASE_ID_IVP_RED(
1666.toString(),
"闯红灯预警",
@@ -857,6 +857,10 @@ enum class EventTypeEnumNew(
TYPE_USECASE_ID_IVP_GREEN.poiType -> {
R.drawable.icon_warning_v2x_traffic_lights_green
}
//闯红灯预警
TYPE_USECASE_ID_IVP_RED.poiType -> {
R.drawable.icon_warning_v2x_traffic_lights_red
}
//鬼探头类型
GHOST_PROBE.poiType -> {
R.drawable.icon_warning_v2x_pedestrian_crossing

View File

@@ -1,6 +1,7 @@
package com.mogo.eagle.core.function.call.msgbox
import android.content.Context
import android.util.Log
import com.mogo.eagle.core.data.constants.MogoServicePaths
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
import com.mogo.eagle.core.function.api.msgbox.IMsgBoxProvider
@@ -24,6 +25,7 @@ object CallerMsgBoxManager {
* 存储数据到消息盒子
*/
fun saveMsgBox(bean: MsgBoxBean) {
Log.d("liyz", "saveMsgBox json = ${bean.bean2Json} --sourceType = ${bean.sourceType} ")
providerApi?.saveMsg(bean)
}