summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-07-23 18:20:54 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-07-23 23:47:03 +0000
commitc360a6d34783dfe39059ea81edd8d7f3ab9069e9 (patch)
tree50766d5890a576dfaee717ba5971c47a3fb8bd0f /libs/input/PointerController.cpp
parent92c92ce3776106edd3a37a3ddb25fa70de2e652b (diff)
[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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions