Closed
Description
Version
Media3 1.1.1
More version details
No response
Devices that reproduce the issue
All
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
- client use media3
val mediaMetadata = MediaMetadata.Builder().setExtras(bundleOf("my_custom_key" to "my value")).build()
val mediaItem = MediaItem.Builder().setMediaMetadata(mediaMetadata).build() - sdk use media
android.media.session.MediaController#registerCallback(android.media.session.MediaController.Callback)
android.media.session.MediaController.Callback#onMetadataChanged
MediaMetadataCompat does not contain "my_custom_key" - i found
androidx.media3.session.MediaUtils#convertToMediaMetadataCompat
MediaMetadata extras are not processed
Expected result
I saw this issue has been solved 756, but my problem is exactly the opposite of this one.
Actual result
MediaMetadataCompat does not contain "my_custom_key" in onMetadataChanged method
Media
Not applicable
Bug Report
- You will email the zip file produced by
adb bugreport
to [email protected] after filing this issue.