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

Commit e5cee22c authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Chips] Support notif icons in Compose chips for connected displays

When StatusBarConnectedDisplays flag is enabled, we need to fetch the
StatusBarIconView from a singleton-per-display store. Once that view is
initially fetched, the store is responsible for updating the icon if the
notification sets a new drawable.

Fixes: 395674381
Bug: 372657935
Bug: 364653005

Flag: com.android.systemui.status_bar_chips_modernization
Flag: com.android.systemui.shared.status_bar_connected_displays

Test: With RootModernization, ChipsModernization, & ConnectedDisplays
all enabled, trigger a notification chip -> verify chip shows icon
Update the notification with a different icon -> verify chip immediately
updates
Test: Post call notification -> verify chip has icon
Test: Verify Compose chips still work with ConnectedDisplays flag off

Change-Id: I463a37fe79ba903905a119561be9d6771b5ea80f
parent 7c738dee
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