diff options
author | Fiona Campbell <flc@google.com> | 2021-06-03 15:54:12 +0100 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2021-06-14 12:28:00 +0100 |
commit | 4384409dae023b4571842e19174c0d729767de6f (patch) | |
tree | c9800b21f532bcb0fcd34a418b45279dd14ef000 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8968116543614bebd3df00eb09b107938c0c2d0d (diff) |
Fix slider being at 0 on unlock
This was happening due to a change that sourced the brightness value
from the brightnessInfo object, which includes brightness state
(invalid and -1/off) as well.
This change ensures the brightnessInfo object will only store valid
brightness values (ie, when the display is ON, and therefore the
brightness is between min & max).
Bug: 187776200
Test: manual
Change-Id: I6b7077da1354f0b21c570f4e2283aa6830dbdb93
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions