pull/2605/head
Horis 2 years ago
parent 9a56650183
commit 6add892dea
  1. 5
      app/src/main/java/io/legado/app/service/TTSReadAloudService.kt

@ -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

Loading…
Cancel
Save