Fix hardcoded preference key in settings controller. Fix: 194708564 Bug: 194246380 Test: manual Test: make RunSettingsRoboTests Change-Id: I86bdd40fd848c5ba2d39acfde4771f5969e640d1
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.