Skip to content
Commit dff8b1b6 authored by Daniel Solomon's avatar Daniel Solomon
Browse files

Fix Display White Balance color temperature on enable

Currently the ambient-to-display color temperature spline is applied to
all color temperature values, including the placeholder value -1.0 that
is used when DWB is first enabled. When this happens, display color
temperature is first set to its lowest value, and is then set to a
meaningful value when the sensor updates its first reading. This
behavior is incorrect.

To fix this, check for a valid color temperature value
before applying the spline.

Bug 130137407
Test: manual

Change-Id: I67a06504e499411fd34e05569e9cd0cbc9f81df1
parent 85e35eb1
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