修改默认使用obu数据,数据类型修改,
This commit is contained in:
@@ -599,12 +599,14 @@ import java.util.*
|
||||
playTts: Boolean,
|
||||
expireTime: Long
|
||||
) {
|
||||
Log.d("liyz", "showWarningV2X v2xType = $v2xType --alertContent = $alertContent --ttsContent = $ttsContent --tag = $tag ")
|
||||
val playTTS = playTts && !AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)
|
||||
activity?.let {
|
||||
val warningContent = alertContent
|
||||
?: EventTypeEnum.getWarningContent(v2xType)
|
||||
if (warningContent.isEmpty()) {
|
||||
CallerLogger.e("$M_HMI$TAG", "Show warningContent is null or empty!")
|
||||
Log.e("liyz", "Show warningContent is null or empty!")
|
||||
return
|
||||
}
|
||||
val content = mViewNotificationProvider?.getNotificationView() ?: return
|
||||
@@ -795,7 +797,9 @@ import java.util.*
|
||||
override fun showWarning(direction: WarningDirectionEnum) {
|
||||
Log.d(TAG,"showWarning====")
|
||||
flV2XWarningView?.showWarning(direction)
|
||||
flicker(flV2XWarningView)
|
||||
if (flV2XWarningView != null) {
|
||||
flicker(flV2XWarningView)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user