-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom extras in MediaMetadata not getting populated in MediaMetadataCompat #802
Labels
Comments
copybara-service bot
pushed a commit
that referenced
this issue
Nov 17, 2023
Ensures backward compatibility. Issue: #802 PiperOrigin-RevId: 583425114
Fix was submitted to the main branch 6df2408. |
copybara-service bot
pushed a commit
to google/ExoPlayer
that referenced
this issue
Nov 17, 2023
Ensures backward compatibility. Issue: androidx/media#802 PiperOrigin-RevId: 583425114
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
val mediaMetadata = MediaMetadata.Builder().setExtras(bundleOf("my_custom_key" to "my value")).build()
val mediaItem = MediaItem.Builder().setMediaMetadata(mediaMetadata).build()
android.media.session.MediaController#registerCallback(android.media.session.MediaController.Callback)
android.media.session.MediaController.Callback#onMetadataChanged
MediaMetadataCompat does not contain "my_custom_key"
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
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: