commit | d4c980968fad4f9b143f84759b5c1048ecafb3de | [log] [tgz] |
---|---|---|
author | davidln <davidln@google.com> | Wed Oct 03 12:48:03 2018 -0700 |
committer | davidln <davidln@google.com> | Wed Oct 03 12:55:25 2018 -0700 |
tree | ae9c5e7d4b81327b32e25a53197c8b0e574295bc | |
parent | cdf1a832aee6b8a53f955cbc38120c84672c8187 [diff] |
Call displayPreference while creating preferences in the base fragment. This allows controllers to add/remove preferences without triggering an animation. The call in onStart is still required as availability may change in a stop / start cycle. Bug: 112931076 Test: test with controller that adds a dynamic preference, RunCarSettingsRoboTests Change-Id: I24d543c599dd014e761ee275972712c3e45f5f93