优化
This commit is contained in:
@@ -105,6 +105,7 @@ class AudioPlayService : BaseService(),
|
|||||||
intent?.action?.let { action ->
|
intent?.action?.let { action ->
|
||||||
when (action) {
|
when (action) {
|
||||||
IntentAction.play -> {
|
IntentAction.play -> {
|
||||||
|
exoPlayer.stop()
|
||||||
pause = false
|
pause = false
|
||||||
position = AudioPlay.book?.durChapterPos ?: 0
|
position = AudioPlay.book?.durChapterPos ?: 0
|
||||||
loadContent()
|
loadContent()
|
||||||
|
|||||||
Reference in New Issue
Block a user