Skip to content
Commit 47461bb5 authored by Chris Kuiper's avatar Chris Kuiper
Browse files

[RESTRICT AUTOMERGE]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
parent 692f088b
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