media/libraries/session/src
jbibik a5949d8806 Allow playback of MediaItems with LocalConfiguration
When initiated by MediaController, it should be possible for `MediaSession` to pass `MediaItems` to the `Player` if they have `LocalConfiguration`. In such case, it is not required to override `MediaSession.Callback.onAddMediaItems`, because the new current default implementation will handle it.

However, in other cases, MediaItem.toBundle() will continue to strip the LocalConfiguration information.

Issue: androidx/media#282

RELEASENOTES.md modified in cherrypick

PiperOrigin-RevId: 537993460
(cherry picked from commit d9764c18ad)
2023-06-12 09:15:01 +00:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-31 11:32:30 +00:00
main Allow playback of MediaItems with LocalConfiguration 2023-06-12 09:15:01 +00:00
test Fix value type when unbundling LibraryResult without expected type 2023-05-05 16:57:22 +00:00