[2.13.0_update]调整V2X消息存入消息盒子的时机

This commit is contained in:
chenfufeng
2022-11-28 14:56:05 +08:00
parent 0dda033608
commit 5f423d8ec0
10 changed files with 163 additions and 40 deletions

View File

@@ -77,7 +77,13 @@ class V2XWarningBroadcastReceiver : BroadcastReceiver() {
if (EventTypeEnum.TYPE_USECASE_ID_IVP.poiType == v2xType.toString()) {
CallerHmiManager.showLimitingVelocity(1)
}
CallerMsgBoxManager.saveMsgBox(
MsgBoxBean(
MsgBoxType.V2X,
V2XMsg(v2xType.toString(), alertContent, ttsContent)
)
)
CallerHmiManager.warningV2X(v2xType.toString(), alertContent, ttsContent,
tag, null, true, 5000L, MsgBoxType.V2X)
tag, null, true, 5000L)
}
}