The min value of NightDisplayIntensityPreferenceController should always be 0 (which is the old value we used before ag/7062353). The range is cacluated from the relative value to MinimumColorTemperature, which means the min value should always be 0. Test: atest NightDisplayIntensityPreferenceControllerTest Fixes:130758028 Change-Id: Ica75672dda6a9ee0c6013f1c903611263b7d133f
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.