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
2 files changed
tree: ae9c5e7d4b81327b32e25a53197c8b0e574295bc
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg