优化
This commit is contained in:
1 parent
1303249ef8
commit
decc5f0527
1 file changed
+5
@@ -168,6 +168,11 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onError(utteranceId: String?, errorCode: Int) {
|
||||||
|
AppLog.put("tts朗读出错 errorCode:$errorCode")
|
||||||
|
onDone("")
|
||||||
|
}
|
||||||
|
|
||||||
@Deprecated("Deprecated in Java")
|
@Deprecated("Deprecated in Java")
|
||||||
override fun onError(s: String) {
|
override fun onError(s: String) {
|
||||||
//nothing
|
//nothing
|
||||||
|
|||||||
Reference in new issue
Block a user