From 2d2e66a8b68a868dc25d633a0bf7fd28d744a6c4 Mon Sep 17 00:00:00 2001 From: zarzet <42882290+zarzet@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:00:48 +0700 Subject: [PATCH] docs(audio): record metadata cache retention rules --- third_party/audio_service/SPOTIFLAC_PATCHES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/audio_service/SPOTIFLAC_PATCHES.md b/third_party/audio_service/SPOTIFLAC_PATCHES.md index a03c4c09..d5dab3f7 100644 --- a/third_party/audio_service/SPOTIFLAC_PATCHES.md +++ b/third_party/audio_service/SPOTIFLAC_PATCHES.md @@ -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