Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c8532bd
authored
Jun 03, 2021
by
aquilescanta
Committed by
bachinger
Jun 03, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Make runUntilError take an ExoPlayer instance
PiperOrigin-RevId: 377267159
parent
016983ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
robolectricutils/src/main/java/com/google/android/exoplayer2/robolectric/TestPlayerRunHelper.java
robolectricutils/src/main/java/com/google/android/exoplayer2/robolectric/TestPlayerRunHelper.java
View file @
4c8532bd
...
@@ -193,7 +193,7 @@ public class TestPlayerRunHelper {
...
@@ -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
(
Exo
Player
player
)
throws
TimeoutException
{
verifyMainTestThread
(
player
);
verifyMainTestThread
(
player
);
AtomicReference
<
ExoPlaybackException
>
receivedError
=
new
AtomicReference
<>();
AtomicReference
<
ExoPlaybackException
>
receivedError
=
new
AtomicReference
<>();
Player
.
Listener
listener
=
Player
.
Listener
listener
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment