| commit | 605dbc66be5826403615de042ac9b5b5f1e37fc6 | [log] [tgz] |
|---|---|---|
| author | jackqdyulei <jackqdyulei@google.com> | Fri May 19 13:29:09 2017 -0700 |
| committer | jackqdyulei <jackqdyulei@google.com> | Tue May 23 13:22:42 2017 -0700 |
| tree | 36fb5913eda672b76a31b3e3d31ea38bd6c4579e | |
| parent | 4d815d93ad9106c6ff3754881420f65dc00246d5 [diff] |
Split loading process for battery header This cl creates BatteryHeaderPreferenceController, which will first load the battery level in ui thread(in displayPreference()), then display the remaining time once we get the battery stats. This is the best we can do to avoid ui flashing while removing the animation Bug: 38349587 Test: RunSettingsRoboTests Change-Id: Ic3622bb73562ba42e69b37e5674a724c03c45f12