docs(audio): record metadata cache retention rules

This commit is contained in:
zarzet committed 2026-10-06 22:00:48 +07:00
1 parent 6741aada4a
commit 2d2e66a8b6
1 file changed
+4
+4
View File
@@ -13,6 +13,10 @@ adding another playback engine or native SDK.
PlaybackState custom actions: background launches from media-session binder
callbacks are blocked on newer Android. Use its native output switcher.
This is only for app-owned controls, not extension input.
- Android: bound retained browser metadata to 256 recent items with
`PinnedMetadataCache`. The active queue and current item stay pinned so
notification, Android Auto and browser lookups survive recent-item eviction.
Replacing the queue and clearing the service release their pinned metadata.
Android 13+ still chooses the positions and built-in transport icons in System
UI. We preserve real play/pause/previous/next semantics for headsets, lock screen