summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Ahmed Mehfooz <amehfooz@google.com> 2025-02-13 04:30:30 +0000
committer Ahmed Mehfooz <amehfooz@google.com> 2025-02-14 14:56:00 -0800
commitb9efcb0cf2810f74340f09e9da56d6b5958e1335 (patch)
tree980c5e2ce95aa86b279098e556923d7851344d6b /libs/androidfw/misc.cpp
parent197965563e2d11b5737757cd006b4d09f6b891ca (diff)
[ROSP] Add framework for status bar popups
This CL introduces the basic framework for status bar popup chips. It adds a media control popup that appears when the corresponding chip is toggled. Specifically: - Updates `PopupChipModel` to hold a `popupViewModel`. - Adds `StatusBarPopup` composable to render the popup based on the `popupViewModel`. - `StatusBarPopupChipsViewModel` tracks the currently selected chip and handles chip toggling. - `StatusBarPopupChipsContainer` renders `StatusBarPopup` if a chip is toggled. The actual UI of the media popup will be added in a follow-up CL. Bug: b/394887130 Flag: com.android.systemui.status_bar_popup_chips Test: Unit test in StatusBarPopupChipsViewModelTest Test: Show a prototype MediaCarousel in `StatusBarPopup` Change-Id: I9785406072dc09aa8601576940c3076fa9e2cf62
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions