diff options
| author | 2024-08-27 16:40:42 -0700 | |
|---|---|---|
| committer | 2024-08-28 00:08:11 +0000 | |
| commit | 7c6ba2e8ea73848250dc485462ebe4fcf08afccf (patch) | |
| tree | 75d9823f201bb5472b529200a5935f3d428f1ead /libs/androidfw/StringPool.cpp | |
| parent | ae928a0f0c2de89d373d2e3cf2e6fc02907fce38 (diff) | |
Fix Chronometer countdown
Fixes: 359936006
The Chronometer countdown was counting down by 2 seconds rather
than by one second. This CL does two things: it fixes the
delay to work when counting down. It also rounds off the time
so that it doesn't count zero for two seconds. There is
special handling for counting down. The previous behavior started
with rounding down the count down. With the new rounding behavior,
count down has to do something different so that it achieves the same
behavior.
Flag: EXEMPT bugfix
Test: new test, manual testing
Change-Id: I611d21f1abb547d4ba5f2c3b269c1be1d480be0a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions