mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
call setPlayWhenReady in any case
ISSUE: #6093 PiperOrigin-RevId: 255471282
This commit is contained in:
parent
244c202c56
commit
ae0aeb046b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue