commit | cf6d84109b73e8595ca43e41ac8a18d8317b4cdc | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Wed Jan 17 11:40:15 2018 -0800 |
committer | Ben Lin <linben@google.com> | Thu Jan 18 01:59:13 2018 +0000 |
tree | 59a31794b09224185f3887ccb228ea2ce838b526 | |
parent | dd1e1e1d996a5af267d325edc635c882d1cac02b [diff] |
Don't add any trust agents if the controller is not available. TrustAgentListPreferenceController gets a list of trust agents and add them to the security_category preference category at runtime. However, this update process is always ran - even if the controller is explicitly disabled/not available. This fixes this. Bug: None Test: Updated TrustAgentListPreferenceControllerTest. Change-Id: Ic95d219bc1d0c7cfa0c4eed0d3dd12dec0e14df6