mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
reset nextMediaPlayer when item has changed
This commit is contained in:
parent
a3cd861e15
commit
a320155546
@ -298,6 +298,7 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
|
||||
MediaPlayer.MEDIA_INFO_STARTED_AS_NEXT -> {
|
||||
playlist.currentSequence++
|
||||
currentMediaPlayer = mp
|
||||
nextMediaPlayer = null
|
||||
prepareNextMediaPlayer()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user