commit | 95b804ad4f0c0be174285b62cb010ad697a451ef | [log] [tgz] |
---|---|---|
author | Stevie Kideckel <kideckel@google.com> | Tue Jun 08 11:14:38 2021 +0000 |
committer | Stevie Kideckel <kideckel@google.com> | Tue Jun 08 11:17:29 2021 +0000 |
tree | c8fcbf5b4e87ea51f5338ee4787908ef914a925f | |
parent | ebcaa39d6b87e25e2f87319943186ea006405af5 [diff] |
Stop using TIME_TICK broadcast in TextClock This gets called even when the view is not visible, which is bad for performance. I've adapted the existing tick framework to handle ticking for minutes when there aren't seconds in the format. I verified the correct behavior with sample apps with and without seconds in the format, including across DST time changes. Fix: 190467448 Test: locally with sample apps Change-Id: I75fed5c9d162b5361c31fe22d057a007db0ce75c