Commit ae0aeb04 by bachinger Committed by Oliver Woodman

call setPlayWhenReady in any case

ISSUE: #6093
PiperOrigin-RevId: 255471282
parent 244c202c
......@@ -1089,8 +1089,9 @@ public final class MediaSessionConnector {
}
} else if (player.getPlaybackState() == Player.STATE_ENDED) {
controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET);
controlDispatcher.dispatchSetPlayWhenReady(player, /* playWhenReady= */ true);
}
controlDispatcher.dispatchSetPlayWhenReady(
Assertions.checkNotNull(player), /* playWhenReady= */ true);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment