diff options
| author | 2024-08-05 16:15:39 -0700 | |
|---|---|---|
| committer | 2024-08-06 09:26:34 -0700 | |
| commit | 5c45aeefe7cb8a6498d534a3df972805eb8469ee (patch) | |
| tree | e0c5f1e3f9c01d4a509290c64e7a3a2e34aab42d /libs/androidfw/StringPool.cpp | |
| parent | 821e24cfb800bd5df8ad6c2296a5114e617f1d55 (diff) | |
Use accurate time to update Chronometer value
Fixes: 357576142
Flag: EXEMPT bugfix
Chronometer used postDelayed(1000ms) to update its time.
Over the course of many seconds, this could skew until
the time jumps more than one second.
This CL uses the time elapsed since the start to determine
when the Chronometer should update. Even if an update is
delayed, it will update after a shorter time on the following
frame.
Test: new test
Change-Id: I0c3210002af094f1e057a450408fcf7455934c66
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions