pull/34/head
kunfei 5 years ago
parent ff4347e676
commit 8f6e3eca6f
  1. 4
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -179,7 +179,9 @@ abstract class BaseReadAloudService : BaseService(),
upNotification() upNotification()
} }
/**
* 音频焦点变化
*/
override fun onAudioFocusChange(focusChange: Int) { override fun onAudioFocusChange(focusChange: Int) {
when (focusChange) { when (focusChange) {
AudioManager.AUDIOFOCUS_GAIN -> { AudioManager.AUDIOFOCUS_GAIN -> {

Loading…
Cancel
Save