+54
−22
+18
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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