summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2020-05-01 19:37:39 +0100
committerFiona Campbell <flc@google.com>2020-05-18 20:15:36 +0100
commitd7ab949588031d552393e5cb60300b562bfd928b (patch)
treec9ed58091e820eba1fd6a8c1330e8e9e3d034742 /startop/scripts/lib/cmd_utils.py
parent3443ba8dc98cbd71b2d3bbc1c78809d4b0da3353 (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
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions