mirror of
https://github.com/samsonjs/media.git
synced 2026-04-15 12:55:46 +00:00
Make runUntilError take an ExoPlayer instance
PiperOrigin-RevId: 377267159
This commit is contained in:
parent
016983ca9a
commit
4c8532bd74
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue