commit | 917f101899e0584edde44567f7939a563cc2dc05 | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Wed Feb 21 15:22:25 2018 -0800 |
committer | Fan Zhang <zhfan@google.com> | Fri Feb 23 14:08:51 2018 -0800 |
tree | f4bf672a1226999bafe0374aff79361d8acc8855 | |
parent | fc520ee38a4df4119e41fb28a9a7864c447f7ad2 [diff] |
Instantiate pref controllers from xml if it's defined. - If a <preference> tag also defines a controller, we will try to instantiate it before displaying the UI. The same logic is shared by BaseSearchIndexProvider so it also drives search suppression. - If user also defines a list of controllers programatically, the programatically created ones takes precedence. Bug: 73668763 Test: WIP Change-Id: I7aecec270bcd3af261e012ef1f6995d2a523cfa1