commit | 57af7c805c1912b005f4d522a1f698c49d31da3d | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Thu Apr 02 12:56:15 2020 +0100 |
committer | Fiona Campbell <flc@google.com> | Thu Apr 02 12:28:24 2020 +0000 |
tree | 57e6f2f7537b3bc3e0febf7de703f793cf35cc60 | |
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