mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
e06fe6f22d
commit
d93f1bb52c
@ -28,7 +28,6 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
initTts()
|
||||
upSpeechRate()
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
@ -45,6 +44,7 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
|
||||
} else {
|
||||
TextToSpeech(this, this, engine)
|
||||
}
|
||||
upSpeechRate()
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
|
Loading…
Reference in New Issue
Block a user