pull/525/head
gedoor 5 years ago
parent ab78381cc3
commit d0971faadf
  1. 2
      app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt

@ -43,8 +43,10 @@ class MediaButtonReceiver : BroadcastReceiver() {
if (action == KeyEvent.ACTION_DOWN) { if (action == KeyEvent.ACTION_DOWN) {
when (keycode) { when (keycode) {
KeyEvent.KEYCODE_MEDIA_PREVIOUS -> { KeyEvent.KEYCODE_MEDIA_PREVIOUS -> {
ReadAloud.prevParagraph(context)
} }
KeyEvent.KEYCODE_MEDIA_NEXT -> { KeyEvent.KEYCODE_MEDIA_NEXT -> {
ReadAloud.nextParagraph(context)
} }
else -> readAloud(context) else -> readAloud(context)
} }

Loading…
Cancel
Save