Skip to content

Commit

Permalink
fix: don't emit PlaybackTrackChanged along with `PlaybackQueueEnded…
Browse files Browse the repository at this point in the history
…` on Android (#2161)
  • Loading branch information
kirillzyusko authored Oct 12, 2023
1 parent 1752a7c commit fa62085
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,6 @@ class MusicService : HeadlessJsTaskService() {

if (it == AudioPlayerState.ENDED && player.nextItem == null) {
emitQueueEndedEvent()
emitPlaybackTrackChangedEvents(null, player.currentIndex, player.position.toSeconds())
}
}
}
Expand Down

0 comments on commit fa62085

Please sign in to comment.