Skip to content
Commit 9764e3ab authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Change BrightnessMappingStrategy to use DDC values

Use brightness min and max values from display device config.
Use brightness nits and backlight ranges from display device config

Convert the nits to backlight splines to only use the valid range considering the min and max values given in the ddc.
Backlight refers to the values handled by the HAL.
Brightness refers to the values used and stored in the system.

Bug: 151620088
Bug: 174757872
Bug: 171380847
Test: LocalDisplayAdapterTest, AutomaticBrightessControllerTest, BrightnessMappingStrategyTest

Change-Id: I6907f11cdf4e62ec9e6ed4304d11fe7686f5c8b6
parent d549483e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment