Skip to content

Commit 4cc0ae2

Browse files
committed
Regression fix
1 parent 3a8dfe8 commit 4cc0ae2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/org/akanework/gramophone/logic/utils/exoplayer/EndedWorkaroundPlayer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class EndedWorkaroundPlayer(
176176
if (repeatMode != null) super.handleSetRepeatMode(repeatMode)
177177
if (shuffleModeEnabled != null) super.handleSetShuffleModeEnabled(shuffleModeEnabled)
178178
if (playbackParameters != null) super.handleSetPlaybackParameters(playbackParameters)
179-
val ret = super.handleSetMediaItems(mediaItems, startIndex, startPositionMs)
179+
val ret = super.handleSetMediaItems(mediaItems, startIndex, startPositionMs, null)
180180
if (nextShuffleOrder != null)
181181
throw IllegalStateException("shuffleFactory was not consumed during set")
182182
return ret

0 commit comments

Comments
 (0)