Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d49cc79 authored by amehfooz's avatar amehfooz
Browse files

[ROSP] Add media carousel location for status bar popup

This change introduces a new location for the media carousel,
specifically within a status bar popup. This popup is displayed when the
media controls chip is clicked.

Key changes include:
- Added `LOCATION_STATUS_BAR_POPUP` to `MediaHierarchyManager` to represent the new location.
- Modified `MediaHierarchyManager` to handle the new location and update the desired location accordingly.
- Created a new `MediaControlPopup` composable to display the media carousel within the popup.
- Added a new `MediaHost` for the popup location.

Bug: b/385202114
Flag: com.android.systemui.status_bar_popup_chips

Test: Make sure media carousel shows up when chip is clicked.
Screenshot provided in b/385202114 comment#2
Test: Make sure the carousel moves to the other locations as expected

Change-Id: I383708af32e335a8ce9c91ef815e4f07030847d1
parent 9c2ce8fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment