Ian Lake
dffe6fdfe1
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
2017-03-10 13:58:07 -08:00
..
2017-02-16 09:37:56 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-02-27 11:06:20 -05:00
2017-02-22 16:09:50 -08:00
2016-09-29 16:59:02 -07:00
2016-10-11 17:00:17 -07:00
2017-02-27 11:06:20 -05:00
2017-02-27 11:06:20 -05:00
2016-10-11 17:00:17 -07:00
2016-09-23 10:16:16 -07:00
2016-10-11 17:00:17 -07:00
2017-02-27 11:06:20 -05:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 16:03:30 -08:00
2017-03-01 10:43:48 -08:00
2017-03-01 10:43:48 -08:00
2017-03-01 10:43:48 -08:00
2017-03-01 10:43:48 -08:00
2017-01-13 13:43:22 -05:00
2017-02-27 11:06:20 -05:00
2017-02-21 11:27:03 +00:00
2017-02-27 11:06:20 -05:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-02-24 19:36:30 +00:00
2017-01-27 01:57:46 -08:00
2016-10-11 17:00:17 -07:00
2017-02-16 09:37:56 -08:00
2016-08-22 10:16:21 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-27 17:14:47 +00:00
2016-08-29 20:09:23 -04:00
2016-09-23 10:16:16 -07:00
2016-08-25 12:38:46 -07:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-02-27 11:06:20 -05:00
2017-02-27 11:06:20 -05:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-07 08:40:54 -07:00
2017-01-20 08:29:17 -08:00
2017-02-13 19:59:49 +00:00
2017-01-30 12:57:43 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-03-01 10:43:48 -08:00
2017-01-19 15:39:05 -08:00
2017-01-30 18:10:34 +00:00
2017-02-27 11:06:20 -05:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-19 15:39:05 -08:00
2016-10-04 12:56:47 -07:00
2017-02-24 19:36:30 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 11:31:07 -08:00
2017-03-04 00:23:23 -08:00
2016-11-07 18:27:41 +00:00
2017-02-27 11:06:20 -05:00
2017-01-10 12:50:47 -08:00
2017-02-27 11:06:20 -05:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-03-10 13:58:07 -08:00
2017-02-22 17:00:30 -08:00
2017-03-06 10:40:24 +00:00
2016-11-17 10:51:26 +00:00
2017-03-01 10:43:48 -08:00
2017-03-01 23:15:35 +00:00
2017-03-01 10:43:48 -08:00
2017-02-27 11:06:20 -05:00
2017-01-11 17:19:39 -08:00
2016-10-11 17:00:17 -07:00
2017-02-22 12:04:24 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-08-25 12:38:46 -07:00
2017-02-27 11:06:20 -05:00