mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +08:00
Load bitmaps for MediaMetadataCompat
and handle the metadata updates.
* Add `Listener` in `MediaSession` with method `onNotificationRefreshRequired(MediaSession)`. * Add `MediaSessionService` as the listener of the `MediaSession` when `MediaSession` is added to `MediaSessionService` * Load bitmap when update metadata in `MediaSessionLegacyStub` and call `onNotificationRefreshRequired` when bitmap asynchronously arrives. PiperOrigin-RevId: 485376145 (cherry picked from commit 624238c6b6e621deed585cb19b63f117ae3f7e76)
This commit is contained in:
parent
69112df555
commit
61b1cfc05d
BIN
testdata/src/test/assets/media/png/non-motion-photo-shortened.png
vendored
Normal file
BIN
testdata/src/test/assets/media/png/non-motion-photo-shortened.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
x
Reference in New Issue
Block a user