diff options
author | Fiona Campbell <flc@google.com> | 2020-06-08 15:49:11 +0100 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2020-06-08 15:49:11 +0100 |
commit | a893431795e2cbe6ee8cc29eef1163d2abf65687 (patch) | |
tree | 38b38fa91cbc31f27022a8f0d41608bda193d4fa | |
parent | 17bdc8b1125296e72aa7fb9b83e1cc85c0ac9682 (diff) | |
download | muskie-a893431795e2cbe6ee8cc29eef1163d2abf65687.tar.gz |
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
-rw-r--r-- | walleye/overlay/frameworks/base/core/res/res/values/config.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/walleye/overlay/frameworks/base/core/res/res/values/config.xml b/walleye/overlay/frameworks/base/core/res/res/values/config.xml index b3aaea8..8d62506 100644 --- a/walleye/overlay/frameworks/base/core/res/res/values/config.xml +++ b/walleye/overlay/frameworks/base/core/res/res/values/config.xml @@ -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> |