|
|
@ -156,12 +156,8 @@ abstract class BaseReadAloudService : BaseService(), |
|
|
|
@CallSuper |
|
|
|
@CallSuper |
|
|
|
open fun resumeReadAloud() { |
|
|
|
open fun resumeReadAloud() { |
|
|
|
pause = false |
|
|
|
pause = false |
|
|
|
if (contentList.isEmpty()) { |
|
|
|
upMediaSessionPlaybackState(PlaybackStateCompat.STATE_PLAYING) |
|
|
|
ReadBook.readAloud() |
|
|
|
postEvent(EventBus.ALOUD_STATE, Status.PLAY) |
|
|
|
} else { |
|
|
|
|
|
|
|
upMediaSessionPlaybackState(PlaybackStateCompat.STATE_PLAYING) |
|
|
|
|
|
|
|
postEvent(EventBus.ALOUD_STATE, Status.PLAY) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract fun upSpeechRate(reset: Boolean = false) |
|
|
|
abstract fun upSpeechRate(reset: Boolean = false) |
|
|
|