commit | d2d3e2cce82aed190009a1467381f18f8b8af83f | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Fri Jan 06 11:44:38 2017 -0800 |
committer | Fan Zhang <zhfan@google.com> | Fri Jan 06 11:44:38 2017 -0800 |
tree | 9d8648be50791c1bac47efaa75c31f08400ee356 | |
parent | 424bce6ec61b8386ed26c95c9e070d6bb73a3e94 [diff] |
Move category refresh call into a separeate method. By default we no longer refresh category with each setTileEnabled. Instead app will call update after all setTileEnabled are called. This saves a lot of async task execution when Settings app starts Bug: 34103984 Test: RunSettingsRoboTest (no regresssion) Change-Id: I71ddcdb3e1fc0df6cacb53583a4f7e8ae8d675f1