Fan Zhang
f0b027f4ce
Improve settings cold start latency.
...
- Move view initialization from onViewCreated to onCreateView. This
doesn't really improve anything, it simply aligns the code more
with view's lifecycle management.
- Move dashboard category init into background. The init contains logic
invoking packageManager, which can be very expensive.
- Remove any call to DashboardFeatureProvider from SummaryLoader, and
delay the getCategory call until someone calls setListener().
- call updateCategory() from background thread.
Test: rerun app launch test. Avg latency drops back to pre-suggestion-v2
level.
Test: robotest
Fixes: 68761512
Change-Id: I5ec85af08e7b610786e439bda93b3651f5975593
2017-11-01 17:24:53 -07:00
..
2017-10-28 11:06:37 -07:00
2017-10-31 13:27:41 -07:00
2017-10-31 13:27:41 -07:00
2017-09-07 13:51:26 -07:00
2017-10-25 12:49:59 -07:00
2017-07-19 08:07:11 -07:00
2017-10-31 12:27:50 -07:00
2017-11-01 17:24:53 -07:00
2017-10-31 13:27:41 -07:00
2017-10-25 20:30:31 +00:00
2017-09-08 09:58:05 -07:00
2017-10-31 17:11:30 +00:00
2017-10-25 17:17:08 +00:00
2017-10-31 13:17:13 -07:00
2017-10-25 11:02:07 -07:00
2017-10-31 13:27:41 -07:00
2017-10-31 13:19:25 -07:00
2017-10-31 02:44:21 +00:00
2017-10-24 16:27:47 -07:00
2017-07-31 19:33:55 +00:00
2017-09-12 23:48:55 +00:00
2017-10-27 13:16:38 -07:00
2017-10-26 12:01:06 -07:00
2017-10-30 14:24:49 -07:00
2017-10-31 13:27:41 -07:00
2017-10-26 12:01:06 -07:00
2017-10-30 12:20:49 -07:00
2017-09-14 18:24:49 -07:00
2017-10-30 19:09:34 +00:00
2017-11-01 00:32:31 +00:00
2017-10-31 14:39:52 -07:00
2017-09-27 14:12:32 -07:00
2017-10-03 12:28:43 -07:00
2017-10-12 13:48:54 -07:00
2017-09-11 14:08:09 -07:00
2017-10-30 18:51:13 +00:00
2017-10-30 12:20:49 -07:00
2017-10-30 14:24:49 -07:00
2017-09-29 11:36:16 -07:00
2017-10-25 11:02:07 -07:00
2017-10-19 16:49:21 -07:00
2017-10-30 12:20:49 -07:00
2017-10-31 13:27:41 -07:00
2017-10-06 15:10:38 -07:00
2017-10-03 20:30:15 +00:00
2017-09-12 01:01:09 +00:00
2017-08-22 11:09:42 -07:00
2017-08-10 13:32:17 +01:00
2017-09-06 10:34:21 +00:00
2017-10-30 12:20:49 -07:00
2017-10-28 11:06:37 -07:00
2017-10-31 09:08:06 -07:00
2017-06-28 15:06:09 -07:00
2017-10-26 14:39:03 +09:00
2017-10-26 12:01:06 -07:00
2017-10-26 12:01:06 -07:00
2017-10-24 17:19:27 +08:00
2017-08-04 00:47:09 +00:00
2017-10-26 12:01:06 -07:00
2017-10-26 12:01:06 -07:00
2017-10-25 11:02:07 -07:00
2017-10-27 13:16:38 -07:00
2017-10-28 14:22:45 -07:00
2017-10-20 22:46:12 +00:00
2017-06-28 15:06:09 -07:00
2017-06-28 15:06:09 -07:00
2017-08-01 16:18:24 -07:00
2017-10-26 12:01:06 -07:00
2017-10-26 12:01:06 -07:00
2017-10-23 15:42:43 -07:00
2017-10-25 11:48:23 -07:00
2017-10-25 11:48:23 -07:00