[SB][Chips] Update call chip to use icon from notification.
This changes updates the ongoing phone call chip to use the
`Notification.getSmallIcon()` as the icon inside the chip, instead of
hard-coding it to be a phone icon.
This includes:
1) For each notification, creating a new `statusBarChipIcon` in addition
to creating the other location-specific icons (status bar, shelf,
aod)
2) Updating the paddings in the chip layout, since the notification icon
is required to come with its own padding
Bug: 354930838
Flag: NONE required for imminent release
Test: Start call without timer -> verify chip has icon only, icon is
centered
Test: Start ongoing call -> verify chip has icon and time
Test: Chip UI at various font and display sizes
Test: Theme changes (chip text updates to both white and black
correctly)
Test: Accessibility for chip
Test: Enable com.android.systemui.status_bar_screen_sharing_chips flag
-> verify call and screen chips still work okay (the paddings are off
but general functionality still works)
Test: atest OngoingCallControllerTest
Change-Id: Id7ad51ad3a590e6556987cba4f2639870c422f92
7 files changed