feat(android): record play-intent on remote play/pause
This commit is contained in:
@@ -172,6 +172,7 @@ class MinstrelForwardingPlayer(
|
||||
if (active == null) {
|
||||
super.play()
|
||||
} else {
|
||||
remoteState.setPlayIntent(true)
|
||||
scope.launch {
|
||||
runCatching { active.avTransport.play() }
|
||||
.onSuccess {
|
||||
@@ -193,6 +194,7 @@ class MinstrelForwardingPlayer(
|
||||
if (active == null) {
|
||||
super.pause()
|
||||
} else {
|
||||
remoteState.setPlayIntent(false)
|
||||
scope.launch {
|
||||
runCatching { active.avTransport.pause() }
|
||||
.onSuccess {
|
||||
|
||||
Reference in New Issue
Block a user