Use On = 300 and Off = 0. Rename setting. Bug: b/170966021, b/110991537 Test: builds and toggle works, atest FontWeightAdjustmentPreferenceControllerTest Change-Id: Icf5d15fc26266578ad78bae5b6f80d193e63c82d
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.