Remove an extra call to updateRebufferingState
method
`updateRebufferingState` is invoked immediately preceding this `if-else`, with no alteration of state occurring in between, making this invocation unnecessary. PiperOrigin-RevId: 629694531
This commit is contained in:
parent
c9aab56d9c
commit
5805287620
@ -880,8 +880,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
updatePlaybackPositions();
|
||||
} else {
|
||||
if (playbackInfo.playbackState == Player.STATE_READY) {
|
||||
updateRebufferingState(
|
||||
/* isRebuffering= */ false, /* resetLastRebufferRealtimeMs= */ false);
|
||||
mediaClock.start();
|
||||
startRenderers();
|
||||
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user