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:
rohks 2024-05-01 05:10:33 -07:00 committed by Copybara-Service
parent c9aab56d9c
commit 5805287620

View File

@ -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);