[shuttle_p_m2]
[语音修正]
This commit is contained in:
yangyakun
2024-01-24 19:00:25 +08:00
parent 11f8fb666f
commit 99432b1afb

View File

@@ -554,7 +554,9 @@ class PM2DrivingModel private constructor() {
val stationNext = mStations[mNextStationIndex]
if (!stationNext.isPlayTts) {
if (!StringUtils.isEmpty(stationNext.introduction)) {
showNotice(stationNext.introduction)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
speakTTS(stationNext.introduction)
}
stationNext.isPlayTts = true
}
}