summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-02-19 03:19:41 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-02-19 03:19:41 +0000
commitdc1cc37cd42da94c18d8875e5080d4f4058d76ba (patch)
tree0805b4f3ec258e55f9b1ccf4889a95f6ac0a268f
parent78eb86d53a338606629d6d6266982c98b5c225bb (diff)
parentc37ed9597e81d9d5c4506cac746766215a38e415 (diff)
downloadtaimen-dc1cc37cd42da94c18d8875e5080d4f4058d76ba.tar.gz
Snap for 6216739 from c37ed9597e81d9d5c4506cac746766215a38e415 to rvc-release
Change-Id: I434564bb95ba19ea401af87b56a0bf77fd11e2de
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 88f0822..7ebee49 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -116,19 +116,25 @@
<!-- Whether the display blanks itself when transition from a doze to a non-doze state -->
<bool name="config_displayBlanksAfterDoze">true</bool>
- <!-- Default screen brightness setting.
- Must be in the range specified by minimum and maximum. -->
- <integer name="config_screenBrightnessSettingDefault">98</integer>
-
<!-- Default screen brightness for VR setting. Default value: 0x8c => 140. -->
<integer name="config_screenBrightnessForVrSettingDefault">140</integer>
<!-- Minimum screen brightness for VR setting. Default value: 0x8c => 140. -->
<integer name="config_screenBrightnessForVrSettingMinimum">140</integer>
- <!-- Minimum screen brightness setting allowed by the power manager.
- The user is forbidden from setting the brightness below this level. -->
- <integer name="config_screenBrightnessSettingMinimum">1</integer>
+ <!-- Minimum screen brightness setting allowed by power manager.
+ The user is forbidden from setting the brightness below this level.
+ Equivalent to 1/255. -->
+ <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>
+
+ <!-- Maximum screen brightness allowed by the power manager.
+ The user is forbidden from setting the brightness above this level. -->
+ <item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
+
+ <!-- Default screen brightness setting
+ Must be in the range specified by minimum and maximum.
+ Equivalent to 98/255 (default for this device) -->
+ <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.38188976378</item>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.