commit | 5c45aeefe7cb8a6498d534a3df972805eb8469ee | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Mon Aug 05 16:15:39 2024 -0700 |
committer | George Mount <mount@google.com> | Tue Aug 06 09:26:34 2024 -0700 |
tree | e0c5f1e3f9c01d4a509290c64e7a3a2e34aab42d | |
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