OSDN Git Service

MediaPlaylistAgent: Add getMediaItem()
authorJaewan Kim <jaewan@google.com>
Tue, 20 Mar 2018 06:07:00 +0000 (15:07 +0900)
committerJaewan Kim <jaewan@google.com>
Fri, 23 Mar 2018 06:59:59 +0000 (15:59 +0900)
commit5df18392633f339cea55fe3c01472ce839984b98
treec14185fafa5c3f1fb547cce347150fc8d8081a66
parent1f654aa24738233f872f708e4e13a9c02af5d6f4
MediaPlaylistAgent: Add getMediaItem()

Provide a way for a custom MediaPlaylistAgent to tell which
MediaItem2 maps to the DataSourceDesc from the
MediaPlayerBase#PlayerEventCallback.

Bug: 74316764, Bug: 75500592
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: I45c9893bf74b2635f31949be537885a79860cfb3
media/java/android/media/MediaPlaylistAgent.java