From 002f589e9758b1b8d058cbd75a126d9ed4282481 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 21 Aug 2021 23:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/BaseReadAloudService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt b/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt index 858385b06..d720db43c 100644 --- a/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt +++ b/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")