summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Chris Kuiper <ckuiper@google.com> 2022-02-01 17:56:07 -0800
committer Chris Kuiper <ckuiper@google.com> 2022-02-01 18:24:29 -0800
commit246d553f51499658d45c2eedaf79a51f7b540dba (patch)
tree9e2e2951a98316041d89bf2868486eec05839840 /opengl/java
parentf7e29a40064b2570154e2d258d053a54792e736c (diff)
DisplayManager: Make sure RampAnimator sets property in linear space.
This fixes the case where RampAnimator is used the first time and immediately jumps to the target brightness. In that case the property was set to a value that has not been converted back into linear space, causing an incorrect initial brightness value. To avoid these bugs, consolidate setting of the property into one function. Bug: 217289549 Test: Cannot reproduce bug. Change-Id: I2ccdaa51ddba062fc5de1209470b90eb429280db
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions