pull/1835/head
kunfei 3 years ago
parent 8a76c5e38c
commit 7115d14929
  1. 2
      app/src/main/java/io/legado/app/service/AudioPlayService.kt

@ -127,7 +127,7 @@ class AudioPlayService : BaseService(),
private fun play() { private fun play() {
upNotification() upNotification()
if (requestFocus()) { if (requestFocus()) {
execute { execute(context = Main) {
AudioPlay.status = Status.STOP AudioPlay.status = Status.STOP
postEvent(EventBus.AUDIO_STATE, Status.STOP) postEvent(EventBus.AUDIO_STATE, Status.STOP)
upPlayProgressJob?.cancel() upPlayProgressJob?.cancel()

Loading…
Cancel
Save