diff options
author | Fiona Campbell <flc@google.com> | 2020-04-02 12:56:15 +0100 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2020-04-02 12:28:24 +0000 |
commit | 57af7c805c1912b005f4d522a1f698c49d31da3d (patch) | |
tree | 57e6f2f7537b3bc3e0febf7de703f793cf35cc60 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d80aee2ed8078efa40da2355d9a098994485fce2 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions