summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2025-01-02 19:38:48 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2025-01-08 20:56:51 +0000
commit33c2d33358a41ceb0976eee2bcd6ceae2f6f480a (patch)
tree4ff234444f2e2d1eac68f60e08e2a0bbd6c60039 /libs/androidfw/misc.cpp
parent3a0b553620bbc24bd45a6a8983835cd26fa6853a (diff)
[SB][Notif] Only hide text in chip that was actually tapped.
Previously, if any notification chip was tapped, we'd hide the text in all chips. Instead, we should just hide the text in the chip that was actually tapped. Most of this CL is adding a new flow to `HeadsUpNotificationInteractor` that emits not just the current `PinnedStatus` but also the key for the pinned row. Fixes: 386784519 Bug: 364653005 Flag: com.android.systemui.status_bar_notification_chips Test: atest HeadsUpNotificationInteractorTest NotifChipsViewModelTest Test: Have 2 notification chips, tap on one -> verify only that chip hides text. Tap on other -> verify other chip hides text, previous chip shows text Change-Id: I7332e40565ed5b6892645168626a78f31461e243
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions