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
|
val status = info.status
|
||||||
Logger.d(
|
Logger.d(
|
||||||
MogoObuConst.TAG_MOGO_OBU,
|
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)
|
handleSdkObu(appId, direction, status, level, info)
|
||||||
}
|
}
|
||||||
@@ -508,7 +510,7 @@ class MogoPrivateObuManager private constructor() {
|
|||||||
info: CvxV2vThreatIndInfo
|
info: CvxV2vThreatIndInfo
|
||||||
) {
|
) {
|
||||||
// 这里排除需要特殊定制的语音及文案外,其余的都可以使用 WarningTypeEnum 提供的
|
// 这里排除需要特殊定制的语音及文案外,其余的都可以使用 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 alertContent = ""
|
||||||
var ttsContent = ""
|
var ttsContent = ""
|
||||||
when (appId) {
|
when (appId) {
|
||||||
@@ -584,6 +586,7 @@ class MogoPrivateObuManager private constructor() {
|
|||||||
"ACTION_V2X_FRONT_WARNING"
|
"ACTION_V2X_FRONT_WARNING"
|
||||||
)
|
)
|
||||||
//显示弹框,语音提示
|
//显示弹框,语音提示
|
||||||
|
Log.d(MogoObuConst.TAG_MOGO_OBU, "appId = $appId --- level = $level --- alertContent = $alertContent")
|
||||||
mIMoGoWaringProvider!!.showWarningV2X(
|
mIMoGoWaringProvider!!.showWarningV2X(
|
||||||
appId,
|
appId,
|
||||||
alertContent,
|
alertContent,
|
||||||
|
|||||||
Reference in New Issue
Block a user