From 195c4dc827071477949bcd20806061dc9c45d06b Mon Sep 17 00:00:00 2001 From: lixiaopeng Date: Wed, 20 Oct 2021 10:15:30 +0800 Subject: [PATCH] modify tts --- .../eagle/core/function/obu/mogo/MogoPrivateObuManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt index 0c5babffa9..945f2dd382 100644 --- a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt +++ b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt @@ -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 {