mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Propagate the player error to ExoPlayerTestRunner
In a test run where no exceptions were thrown on the main thread and the test did not time out, exceptions from onPlayerError were not correctly propagated to the test thread (handleException would be called with null). Fix ExoPlayerTestRunner.onPlayerError to propagate the actual exception from the player. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176825907
This commit is contained in:
parent
5cd8869646
commit
de476ba4e6
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ public final class ExoPlayerTestRunner extends Player.DefaultEventListener {
|
|||
|
||||
@Override
|
||||
public void onPlayerError(ExoPlaybackException error) {
|
||||
handleException(exception);
|
||||
handleException(error);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue