mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
9a56650183
commit
6add892dea
@ -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")
|
||||
override fun onError(s: String) {
|
||||
//nothing
|
||||
|
Loading…
Reference in New Issue
Block a user