Display white balance relies on a linear color transform matrix to work as intended. When the current color mode is COLOR_MODE_SATURATED, this condition is not guaranteed to be satisfied. In this case, hide the display white balance setting. Bug: 116516917 make ROBOTEST_FILTER=DisplayWhiteBalancePreferenceControllerTest RunSettingsRoboTests -j32 Change-Id: I1fe1eb907485766888832db8b9c342339cc80ea7
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.