mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Fix flaky test
PiperOrigin-RevId: 334801561
This commit is contained in:
parent
107fed9b2a
commit
d8df5411b8
@ -6943,6 +6943,7 @@ public final class ExoPlayerTest {
|
|||||||
ActionSchedule actionSchedule =
|
ActionSchedule actionSchedule =
|
||||||
new ActionSchedule.Builder(TAG)
|
new ActionSchedule.Builder(TAG)
|
||||||
.waitForPlaybackState(Player.STATE_READY)
|
.waitForPlaybackState(Player.STATE_READY)
|
||||||
|
.waitForPendingPlayerCommands()
|
||||||
.executeRunnable(
|
.executeRunnable(
|
||||||
new PlayerRunnable() {
|
new PlayerRunnable() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user