diff options
author | Ian Lake <ilake@google.com> | 2017-03-10 13:40:44 -0800 |
---|---|---|
committer | Ian Lake <ilake@google.com> | 2017-03-10 13:58:07 -0800 |
commit | dffe6fdfe1e25e3bad52c00ff6c978deb0327852 (patch) | |
tree | 1e51191bce370df8bec51d0a4dbf1e4b42f42247 /docs/html/sdk/api_diff/19/changes | |
parent | 8aa30c04b89292328177c02ffd37469de699f1ad (diff) |
Move expensive TextClock operations to onAttach
Registering and unregistering are expensive operations
that should not be done when the visibility of the
TextClock changes. However, we want to ensure that a
non-visible TextClock does not consume extra resources
or cause layout/redraw passes. By keeping the TextClock
registered but avoiding the side effects of onTimeChanged,
we can get the best of both worlds.
Test: manual testing
BUG: 33960344
Change-Id: I3e76246d820363766b78130231d665989fdb4265
Diffstat (limited to 'docs/html/sdk/api_diff/19/changes')
0 files changed, 0 insertions, 0 deletions