- The hdr/sdr ratio overlay will be shown on screen if the option is selected from the developer option. - This option is hidden on non-HDR-supported devices. - Add flags: com.android.settings.flags.development_hdr_sdr_ratio Test: enable show hdr/sdr ratio from developer menu; com.android.settings.development.ShowHdrSdrRatioPreferenceControllerTest Bug: 291863102 Change-Id: Idd72f95c67c95cd8127f9b94e031b3d87b18e307
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.