mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
* @throws TimeoutException If the {@link RobolectricUtil#DEFAULT_TIMEOUT_MS default timeout} is
|
||||||
* exceeded.
|
* exceeded.
|
||||||
*/
|
*/
|
||||||
public static ExoPlaybackException runUntilError(Player player) throws TimeoutException {
|
public static ExoPlaybackException runUntilError(ExoPlayer player) throws TimeoutException {
|
||||||
verifyMainTestThread(player);
|
verifyMainTestThread(player);
|
||||||
AtomicReference<ExoPlaybackException> receivedError = new AtomicReference<>();
|
AtomicReference<ExoPlaybackException> receivedError = new AtomicReference<>();
|
||||||
Player.Listener listener =
|
Player.Listener listener =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue