summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2021-06-03 15:54:12 +0100
committerFiona Campbell <flc@google.com>2021-06-14 12:28:00 +0100
commit4384409dae023b4571842e19174c0d729767de6f (patch)
treec9800b21f532bcb0fcd34a418b45279dd14ef000 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8968116543614bebd3df00eb09b107938c0c2d0d (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions