Add an API for setting a new brightness curve.
In addition, this also provides multiple strategies for mapping from ambient room brightness in lux to display brightness. The default one is the classic strategy, where we map directly from lux to backlight brightness in an arbitrary unit. The newer and preferred strategy is to use the physical brightness of the display, but requires that the brightness properties of the display are appropriately configured. Bug: 69406783 Test: atest com.android.server.display.BrightnessMappingStrategyTest && atest android.hardware.display.BrightnessConfigurationTest && atest android.hardware.display.PersistentDataStoreTeset Change-Id: I60227bdb6c299d0fa92686cbf3e5994b336a3a79
Loading
Please register or sign in to comment