commit | a72faf947f3efe23543d7cead4451641456e6ec9 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Mon Jan 29 15:17:20 2018 +0000 |
committer | Michael Wright <michaelwr@google.com> | Mon Jan 29 15:17:20 2018 +0000 |
tree | 1b21199d3a60648d3bccd2fa1e2c95a2d0e0e921 | |
parent | 88ca395b5bc5e820b0cd459aff6edf6db5926afc [diff] |
Re-initialize the brightness slider when out of sync. Whenever the brightness controller stops listening to brightness events, it could get out of sync and so will animate when next opened and it re-registers. We want to avoid this animation since it looks odd to the user so we always re-initialize whenever we might get out of sync. Bug: 72635553 Test: manual Change-Id: I3a7e05e18652af33511a5de5a8ebeee01d2f0349