Commit 75338530 by olly Committed by Oliver Woodman

Simplify disabling renderers in ExoPlayerTest

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191901120
parent 03a36ce6
......@@ -726,13 +726,7 @@ public final class ExoPlayerTest {
new ActionSchedule.Builder("testChangeTrackSelection")
.pause()
.waitForPlaybackState(Player.STATE_READY)
.executeRunnable(
new Runnable() {
@Override
public void run() {
trackSelector.setRendererDisabled(0, true);
}
})
.disableRenderer(0)
.play()
.build();
......@@ -773,13 +767,7 @@ public final class ExoPlayerTest {
new ActionSchedule.Builder("testReuseTrackSelection")
.pause()
.waitForPlaybackState(Player.STATE_READY)
.executeRunnable(
new Runnable() {
@Override
public void run() {
trackSelector.setRendererDisabled(0, true);
}
})
.disableRenderer(0)
.play()
.build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment