From 432344c4df908a6bf60378a086ad7a40c781ace7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 24 Oct 2019 16:43:23 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/service/HttpReadAloudService.kt | 2 ++ 1 file changed, 2 insertions(+) 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 dd81ce68b..90f43f567 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -7,6 +7,7 @@ import io.legado.app.data.api.IHttpPostApi import io.legado.app.help.FileHelp import io.legado.app.help.IntentHelp import io.legado.app.help.http.HttpHelper +import io.legado.app.utils.LogUtils import io.legado.app.utils.getPrefInt import io.legado.app.utils.getPrefString import io.legado.app.utils.postEvent @@ -187,6 +188,7 @@ class HttpReadAloudService : BaseReadAloudService(), } override fun onCompletion(mp: MediaPlayer?) { + LogUtils.d("播放完成", contentList[nowSpeak]) readAloudNumber += contentList[nowSpeak].length + 1 if (nowSpeak < contentList.lastIndex) { nowSpeak++