commit | d7ab949588031d552393e5cb60300b562bfd928b | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Fri May 01 19:37:39 2020 +0100 |
committer | Fiona Campbell <flc@google.com> | Mon May 18 20:15:36 2020 +0100 |
tree | c9ed58091e820eba1fd6a8c1330e8e9e3d034742 | |
parent | 3443ba8dc98cbd71b2d3bbc1c78809d4b0da3353 [diff] |
Fix brightness curve when user sets slider to min. The brightness spline was setting the entire curve to 0.0f. This was due to the min and max points of point x+1 being constrained to a factor of the brightness x. If this happens to be 0.0f, the brightness curve will never increase. Bug: 153799222 Test: AutomaticBrightnessControllerTest Change-Id: Id29389e7fc17b402d2f1bd581a805a6067eac4bb