pull/1272/head
gedoor 3 years ago
parent 79272f16d4
commit f6f80da3fe
  1. 4
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -199,9 +199,9 @@ abstract class BaseReadAloudService : BaseService(),
private fun startDs() { private fun startDs() {
handler.removeCallbacks(dsRunnable) handler.removeCallbacks(dsRunnable)
handler.postDelayed(dsRunnable, 60000)
postEvent(EventBus.TTS_DS, timeMinute) postEvent(EventBus.TTS_DS, timeMinute)
upNotification() upNotification()
handler.postDelayed(dsRunnable, 60000)
} }
/** /**
@ -217,9 +217,9 @@ abstract class BaseReadAloudService : BaseService(),
ReadAloud.stop(this) ReadAloud.stop(this)
} }
} }
handler.postDelayed(dsRunnable, 60000)
postEvent(EventBus.TTS_DS, timeMinute) postEvent(EventBus.TTS_DS, timeMinute)
upNotification() upNotification()
handler.postDelayed(dsRunnable, 60000)
} }
/** /**

Loading…
Cancel
Save