pull/2037/head
kunfei 2 years ago
parent ad5f454362
commit 92a04f0f1d
  1. 1
      app/build.gradle
  2. 1
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -136,6 +136,7 @@ kapt {
} }
dependencies { dependencies {
//noinspection GradleDependency
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6')
testImplementation('junit:junit:4.13.2') testImplementation('junit:junit:4.13.2')
androidTestImplementation('androidx.test:runner:1.4.0') androidTestImplementation('androidx.test:runner:1.4.0')

@ -143,6 +143,7 @@ abstract class BaseReadAloudService : BaseService(),
} }
open fun play() { open fun play() {
isRun = true
pause = false pause = false
upNotification() upNotification()
postEvent(EventBus.ALOUD_STATE, Status.PLAY) postEvent(EventBus.ALOUD_STATE, Status.PLAY)

Loading…
Cancel
Save