media/testutils/src/main
bachinger 60f907be6d Make FakeTimeline and FakeMediaSource provide a media item
FakeMediaSource and FakeTimeline should put a media item to the window just as other media sources and timelines do. This change provides a fake media item for both of them.

Further the MaskingMediaSource needs to provide a media item for when the real timeline of the masked media source is not available. This can be easily done by using mediaSource.getMediaItem() once available. For now a dummy is used to make ExoPlayerTest run green. This can be easily change to use mediaSource.getMediaSource as soon as this method is defined by the MediaSource interface.

PiperOrigin-RevId: 314897474
2020-06-05 13:05:48 +01:00
..
java/com/google/android/exoplayer2/testutil Make FakeTimeline and FakeMediaSource provide a media item 2020-06-05 13:05:48 +01:00
res/layout Add overlay FrameLayout to hosted tests 2020-03-27 23:31:46 +00:00
AndroidManifest.xml Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00