Skip to content
Commit 57af7c80 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Stop NaN being passed to brightness curve.

PowerManager.BRIGHTNESS_INVALID_FLOAT was being passed on when it shoudln't have been, if statement has been fixed to avoid this.

Bug: 152685837

Test: AutomaticBrightnessControllerTest, adb shell dumpsys display |
grep mBrightnessSpline (check no NaN values)

Change-Id: Ic2d22938ccc81cb2b9e2645b7e21acd89163b107
parent d80aee2e
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