summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2025-02-28 21:52:48 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2025-03-03 15:09:32 +0000
commitf127a1532553f1916f27cb766bd2f44cc3c2cd5f (patch)
treecd7ca3c3bdc174aeae9824a4adcafa34e8946288 /ravenwood/scripts/extract-last-soong-commands.py
parentaa680d7d7a8d5dee3ad00ec825d5869a2fe51142 (diff)
[SB][Notif] Maintain notification chip state for a timeout period.
The `flatMapLatest` that collects all the individual notification chip flows means that the flows stop & immediately restart collection each time the list of notification chips changes. This can cause problems, like the `appVisibility` flow starting UID observation multiple times. This CL uses a `stopTimeoutMillis` on the notification chips StateFlow so that all the flow values are maintained for the brief period where flatMapLatest stops then restarts collection. Fixes: 396471436 Bug: 364653005 Flag: com.android.systemui.status_bar_notification_chips Test: trigger a bunch of different notification chips, opening & closing their apps -> dump `StatusBarChips` log and verify it's not spammy Change-Id: Idcf4777c896ac45af5d157409f2560942384369e
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions