From 5714b44f3919541cda6c8281e86f6d7b69e2b350 Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 20 Sep 2021 11:03:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E7=BA=BF=E6=9C=97?= =?UTF-8?q?=E8=AF=BB=E8=B7=B3=E6=AE=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/service/HttpReadAloudService.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 9eb513eed..d7b4c7a3f 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -2,7 +2,6 @@ package io.legado.app.service import android.app.PendingIntent import android.media.MediaPlayer -import android.util.Log import io.legado.app.constant.AppLog import io.legado.app.constant.EventBus import io.legado.app.help.AppConfig @@ -77,7 +76,6 @@ class HttpReadAloudService : BaseReadAloudService(), private fun playNext() { readAloudNumber += contentList[nowSpeak].length + 1 - Log.e("playNext", "$readAloudNumber") if (nowSpeak < contentList.lastIndex) { nowSpeak++ play() @@ -262,7 +260,7 @@ class HttpReadAloudService : BaseReadAloudService(), delay(500) playNext() } - return false + return true } override fun onCompletion(mp: MediaPlayer?) {