commit | 3bd2420911783212e5b6031bed9afbfc17d57e7b | [log] [tgz] |
---|---|---|
author | jackqdyulei <jackqdyulei@google.com> | Thu May 04 18:02:14 2017 -0700 |
committer | jackqdyulei <jackqdyulei@google.com> | Thu May 04 18:08:31 2017 -0700 |
tree | 2b935b07b93630e94f67b97d1025d4eea531bcea | |
parent | 5a24c1b84ce8314850b29a17f18a5ff06f130324 [diff] |
Fix randomly showing anomaly icon Sometimes PowerGaugePreference will show anomaly icon when they shouldn't. I think it is because PreferenceViewHolder has cache about the previous data. This cl fixes it by setting compound drawable as 0 when showAnomalyIcon is false. Bug: 36924669 Test: RunSettingsRoboTests Change-Id: I5ea0dc307aafcce386c84963e618d1213de5ec19