pull/84/head
kunfei 5 years ago
parent 101dcbde83
commit 20134f757e
  1. 2
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -41,6 +41,7 @@ class HttpReadAloudService : BaseReadAloudService(),
override fun onDestroy() {
super.onDestroy()
job?.cancel()
mediaPlayer.release()
}
@ -48,6 +49,7 @@ class HttpReadAloudService : BaseReadAloudService(),
mediaPlayer.reset()
job?.cancel()
playingIndex = -1
nowSpeak = 0
super.newReadAloud(dataKey, play)
}

Loading…
Cancel
Save