From 026a283bfbd443075a4457d570ef9f2171c48bc4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 30 Nov 2019 18:32:38 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/service/BaseReadAloudService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 c4356ae72..7f3cbb34e 100644 --- a/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt @@ -36,7 +36,7 @@ abstract class BaseReadAloudService : BaseService(), companion object { var isRun = false var timeMinute: Int = 0 - var pause = false + var pause = true fun isPlay(): Boolean { return isRun && !pause @@ -126,6 +126,7 @@ abstract class BaseReadAloudService : BaseService(), } open fun play() { + pause = false postEvent(Bus.ALOUD_STATE, Status.PLAY) upNotification() }