diff options
| author | 2024-06-26 15:57:01 +0000 | |
|---|---|---|
| committer | 2024-06-26 16:07:36 +0000 | |
| commit | c944165be415623883f84761946449f97a8e7f2b (patch) | |
| tree | 3854c4f4f08f624b9a1c3f5da49071f1d1f67ab4 /libs/androidfw/StringPool.cpp | |
| parent | c9cd5689b8a3871dd590a0d557a5e4563587e9ee (diff) | |
[SB][Screen Chips] Don't show time on call chip if time is invalid.
If you start an outgoing call but the other person hasn't answered yet,
the `when` value on the call notification is 0. We shouldn't show the
time in that case. This CL handles that case correctly now.
Bug: 332662551
Flag: com.android.systemui.status_bar_screen_sharing_chips
Test: trigger a call and manually set the `when` value on the call
notification to 0 -> verify chip is shown with no timer
Test: trigger a call with a valid `when` value -> verify chip is shown
with timer
Test: atest CallChipViewModelTest
Change-Id: If202eb8a54a215fca3db762d946fe13d574aa832
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions