mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00: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 624238c6b6)
This commit is contained in:
parent
69112df555
commit
61b1cfc05d
1 changed files with 0 additions and 0 deletions
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…
Reference in a new issue