commit | 5b01294d8414cf03bbf7f4a2b30268537c03a0d7 | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Thu Aug 24 13:09:57 2017 -0700 |
committer | Doris Ling <dling@google.com> | Thu Aug 24 13:53:30 2017 -0700 |
tree | 547fdde789fbfeafedd4914d4d3a8f5ff3872bd5 | |
parent | efcc8be05c919ca0ac2b6cfb7810c7b722a0f66f [diff] |
Fix jank in showing conditions and suggestions in cold start. When we first initialize the dashboard view, and register the condition listener, it will trigger the condition changed callback immediately. This results in unnecessary refresh of the dashboard header. Add check to not do the refresh when we first initialize the view. Change-Id: If7c69637463734c150b7f5eb7f3c042cf73837fa Fixes: 64811475 Test: make RunSettingsRoboTests