diff options
author | Daniel Solomon <solomondaniel@google.com> | 2019-04-08 14:30:51 -0700 |
---|---|---|
committer | Daniel Solomon <solomondaniel@google.com> | 2019-04-09 17:47:48 +0000 |
commit | dff8b1b6464556c3359131dbfd226086e8af9c18 (patch) | |
tree | 00097d3aa5e519ad7b322fa8b8b2b7f96d77bdb4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 85e35eb118fb2a762cf76fc1e64fcada7800520c (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions