|
|
@ -127,7 +127,7 @@ class AudioPlayService : BaseService(), |
|
|
|
private fun play() { |
|
|
|
private fun play() { |
|
|
|
upNotification() |
|
|
|
upNotification() |
|
|
|
if (requestFocus()) { |
|
|
|
if (requestFocus()) { |
|
|
|
execute { |
|
|
|
execute(context = Main) { |
|
|
|
AudioPlay.status = Status.STOP |
|
|
|
AudioPlay.status = Status.STOP |
|
|
|
postEvent(EventBus.AUDIO_STATE, Status.STOP) |
|
|
|
postEvent(EventBus.AUDIO_STATE, Status.STOP) |
|
|
|
upPlayProgressJob?.cancel() |
|
|
|
upPlayProgressJob?.cancel() |
|
|
|