summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2025-03-04 23:51:44 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2025-03-04 23:56:55 +0000
commitd5041211faf80b7a3f7893642c8a788da1640e40 (patch)
treee17486ced81437181ca074a4506a7df87f95e090 /api/api_test.go
parent96b5ce2f2200080fc41532facb50f79aaef2526d (diff)
[SB][Chips] Fix up the ShortTimeDelta Compose Chips.
Two changes: 1) I only just realized that the ShortTimeDelta time is in currentTimeMillis units instead of elapsedRealtimeUnits, so I updated the Compose view to use currentTimeMillis as the baseline. 2) Update TimeRemainingState to use the right duration from the outset so that the chip doesn't flash "now" for a brief moment. Fixes: 400784488 Bug: 372657935 Flag: com.android.systemui.status_bar_chips_modernization Test: Trigger notif chip with time in the future -> verify chip shows the time delta correctly. Verify with ChipsModernization both off and on Change-Id: Id1729675205b7add3275527f94999b25cda5c388
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions