Fix Walleye brightness curve.

ag/11455081 caused a bug in the brightness slider that meant that all devices (except Walleye) could not slide it to the minimum. The hardcoded curves on walleye are now changed to start at 1 ("minimum brightness" like all the other devices) instead of 0 ("off").

Bug: 157838219

Test: manual - cover ambient light sensor - ensure brightness reduces
but not to 0. grep for brightness splines too:
adb shell dumpsys display | grep -i "spline\|mConfig"

Change-Id: Idd5b011141edd7cd5cd1dee27b2647f55025fac8
This commit is contained in:
Fiona Campbell
2020-06-08 15:49:11 +01:00
parent 17bdc8b112
commit a893431795

View File

@@ -100,7 +100,7 @@
This array should be equal in size to config_screenBrightnessBacklight. -->
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>1</item>
<item>15</item>
<item>30</item>
<item>45</item>
@@ -128,7 +128,7 @@
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>0</item>
<item>1.74</item>
<item>26.11</item>
<item>50.5</item>
<item>74.17</item>