Make runUntilError take an ExoPlayer instance
PiperOrigin-RevId: 377267159
This commit is contained in:
parent
016983ca9a
commit
4c8532bd74
@ -193,7 +193,7 @@ public class TestPlayerRunHelper {
|
||||
* @throws TimeoutException If the {@link RobolectricUtil#DEFAULT_TIMEOUT_MS default timeout} is
|
||||
* exceeded.
|
||||
*/
|
||||
public static ExoPlaybackException runUntilError(Player player) throws TimeoutException {
|
||||
public static ExoPlaybackException runUntilError(ExoPlayer player) throws TimeoutException {
|
||||
verifyMainTestThread(player);
|
||||
AtomicReference<ExoPlaybackException> receivedError = new AtomicReference<>();
|
||||
Player.Listener listener =
|
||||
|
Loading…
x
Reference in New Issue
Block a user