mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

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 d9764c18adbc8b1fe23d983f92c68a582394b33a)
Session test module
Tests cross-process use of the session module. To run the tests:
- Prepare a device (either an emulator or a real device) to run the tests on.
- Run
./gradlew :test-session-current:cAT