The brightness raw value is in linear pace, we need to convert it to gamma space to make it match the way sysui represents the brightness level. Bug: 73810208 Change-Id: Ic4551bbeff4a6af30f7af2871a79a7d797279edb Fixes: 78173473 Test: robotests
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.