Create PreferenceController for each of the Preference presented on screen, which allows SettingsFragment better control the behavior of Preference. Bug: 260540995 Test: auto and local test Change-Id: Iadd9c10fb353d6304d61e65687a505c71a53179a
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.