Merge remote-tracking branch 'origin/feature/feature_mogo_obu' into feature/feature_mogo_obu
This commit is contained in:
@@ -342,7 +342,9 @@ class MogoPrivateObuManager private constructor() {
|
||||
val status = info.status
|
||||
Logger.d(
|
||||
MogoObuConst.TAG_MOGO_OBU,
|
||||
"onCvxV2vThreatIndInfo getMessageDirection(direction) = $direction"
|
||||
"onCvxV2vThreatIndInfo getMessageDirection(direction) = ${
|
||||
getMessageDirection(direction)
|
||||
} --- direction = $direction --- appId = $appId ---level = $level"
|
||||
)
|
||||
handleSdkObu(appId, direction, status, level, info)
|
||||
}
|
||||
@@ -508,7 +510,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
info: CvxV2vThreatIndInfo
|
||||
) {
|
||||
// 这里排除需要特殊定制的语音及文案外,其余的都可以使用 WarningTypeEnum 提供的
|
||||
Log.d(MogoObuConst.TAG_MOGO_OBU, "appId = $appId --- handleDirection = $direction ")
|
||||
Log.d(MogoObuConst.TAG_MOGO_OBU, "handleSdkObu appId = $appId --- handleDirection = $direction ---level = $level")
|
||||
var alertContent = ""
|
||||
var ttsContent = ""
|
||||
when (appId) {
|
||||
@@ -584,6 +586,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
"ACTION_V2X_FRONT_WARNING"
|
||||
)
|
||||
//显示弹框,语音提示
|
||||
Log.d(MogoObuConst.TAG_MOGO_OBU, "appId = $appId --- level = $level --- alertContent = $alertContent")
|
||||
mIMoGoWaringProvider!!.showWarningV2X(
|
||||
appId,
|
||||
alertContent,
|
||||
|
||||
Reference in New Issue
Block a user