mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
reset nextMediaPlayer when item has changed
This commit is contained in:
parent
a3cd861e15
commit
a320155546
1 changed files with 1 additions and 0 deletions
|
@ -298,6 +298,7 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
|
|||
MediaPlayer.MEDIA_INFO_STARTED_AS_NEXT -> {
|
||||
playlist.currentSequence++
|
||||
currentMediaPlayer = mp
|
||||
nextMediaPlayer = null
|
||||
prepareNextMediaPlayer()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue