call setPlayWhenReady in any case
ISSUE: #6093 PiperOrigin-RevId: 255471282
This commit is contained in:
parent
244c202c56
commit
ae0aeb046b
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user