pull/1259/head
gedoor 3 years ago
parent 21dd23336f
commit 002f589e97
  1. 1
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -60,6 +60,7 @@ abstract class BaseReadAloudService : BaseService(),
override fun onCreate() {
super.onCreate()
isRun = true
pause = false
audioManager = getSystemService(Context.AUDIO_SERVICE) as AudioManager
mFocusRequest = MediaHelp.getFocusRequest(this)
mediaSessionCompat = MediaSessionCompat(this, "readAloud")

Loading…
Cancel
Save