Fix flaky test

PiperOrigin-RevId: 334801561
This commit is contained in:
bachinger 2020-10-01 14:34:50 +01:00 committed by Ian Baker
parent 107fed9b2a
commit d8df5411b8

View File

@ -6943,6 +6943,7 @@ public final class ExoPlayerTest {
ActionSchedule actionSchedule =
new ActionSchedule.Builder(TAG)
.waitForPlaybackState(Player.STATE_READY)
.waitForPendingPlayerCommands()
.executeRunnable(
new PlayerRunnable() {
@Override