优化
This commit is contained in:
1 parent
3cc4945cb4
commit
5f1b10c46d
2 files changed
+2
-2
No files matched your search
@@ -237,7 +237,7 @@ object ReadBook : CoroutineScope by MainScope() {
|
||||
private fun curPageChanged() {
|
||||
callBack?.pageChanged()
|
||||
if (BaseReadAloudService.isRun) {
|
||||
ReadAloud.playByEventBus(!BaseReadAloudService.pause)
|
||||
readAloud(!BaseReadAloudService.pause)
|
||||
}
|
||||
upReadTime()
|
||||
preDownload()
|
||||
|
||||
@@ -138,7 +138,7 @@ abstract class BaseReadAloudService : BaseService(),
|
||||
IntentAction.nextParagraph -> nextP()
|
||||
IntentAction.addTimer -> addTimer()
|
||||
IntentAction.setTimer -> setTimer(intent.getIntExtra("minute", 0))
|
||||
else -> stopSelf()
|
||||
IntentAction.stop -> stopSelf()
|
||||
}
|
||||
return super.onStartCommand(intent, flags, startId)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user