Initialize Display White Balance using SurfaceControl
Currently, DWB reads display color characteristics from device overlays.
This limits DWB to a static source of data.
This change adds another, higher priority initialization option, using
SurfaceControl. SurfaceControl exposes device color characteristics from
the Configstore HAL, which may be dynamically populated based on
specific device characteristics. Consequently, this source of data
allows for more accurate color transforms in DWB.
Bug 123102849
Test: manually force initialization using both methods
Change-Id: I3bf889e98f2b52866c90513203c02adcff338ac7
2 files changed