修复bug
This commit is contained in:
1 parent
5b5510930c
commit
93243e5fa0
1 file changed
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user