Commit d67b7034 by sungsoo Committed by Ian Baker

Refactor ComponentListener of PlayerWrapper

PiperOrigin-RevId: 343432873
parent 8c817664
...@@ -80,6 +80,9 @@ ...@@ -80,6 +80,9 @@
that lie outside the length of the cue text. that lie outside the length of the cue text.
* Metadata retriever: * Metadata retriever:
* Parse Google Photos HEIC motion photos metadata. * Parse Google Photos HEIC motion photos metadata.
* Media2 extention:
* Notify onBufferingEnded when the state of origin player becomes
STATE_IDLE or STATE_ENDED.
### 2.12.1 (2020-10-23) ### ### 2.12.1 (2020-10-23) ###
......
...@@ -826,7 +826,6 @@ public class SessionPlayerConnectorTest { ...@@ -826,7 +826,6 @@ public class SessionPlayerConnectorTest {
} }
} }
}); });
sessionPlayerConnector.setPlaylist(playlistToSessionPlayer, /* metadata= */ null);
InstrumentationRegistry.getInstrumentation() InstrumentationRegistry.getInstrumentation()
.runOnMainSync(() -> playerTestRule.getSimpleExoPlayer().setMediaItems(exoMediaItems)); .runOnMainSync(() -> playerTestRule.getSimpleExoPlayer().setMediaItems(exoMediaItems));
assertThat(onPlaylistChangedLatch.await(PLAYLIST_CHANGE_WAIT_TIME_MS, MILLISECONDS)).isTrue(); assertThat(onPlaylistChangedLatch.await(PLAYLIST_CHANGE_WAIT_TIME_MS, MILLISECONDS)).isTrue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment