modify tts

This commit is contained in:
lixiaopeng
2021-10-20 10:15:30 +08:00
parent 5aa218e6ef
commit 195c4dc827

View File

@@ -300,12 +300,12 @@ class MogoPrivateObuManager private constructor() {
}
// 前方拥堵提醒
EventTypeEnum.TYPE_USECASE_ID_TJW.poiType -> {
ttsContent = EventTypeEnum.getWarningContent(appId)
ttsContent = EventTypeEnum.getWarningTts(appId)
if (info.threat_info != null) {
Logger.d(MogoObuConst.TAG_MOGO_OBU, "ttsContent = $ttsContent --alertContent = $alertContent ---info.threat_info.distance = ${info.threat_info.distance} ")
if (info.threat_info.distance.toInt() != 0) {
alertContent = String.format(
EventTypeEnum.getWarningTts(appId),
EventTypeEnum.getWarningContent(appId),
info.threat_info.distance.toInt()
)
} else {