summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-01-07 07:52:06 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2016-02-23 19:16:48 +0800
commitde533683b48475778b6e6293b2a764acb2396b9e (patch)
tree4cf409374292f8112fcbf90db8f00b0fa99d4fef
parent06bdf1ad30ec3a532c431a04da2f4fbd29c63d60 (diff)
flo: Increase darkest possible auto-brightness adjustment
A value of 1 is too low and results in backlight turning off when adjusted even lower with CABC on. Increase it to 2. Ideally we do not want this overlay change since it increases the minimum brightness quite noticeably in dark ambient conditions. However, we'll just merge this for now until a better fix is found. Change-Id: I8eee6be1cffb7efe5c807dd235bc7d3b4624887d
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index b952ef9..09af0da 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -109,6 +109,15 @@
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">5</integer>
+ <!-- Minimum allowable screen brightness to use in a very dark room.
+ This value sets the floor for the darkest possible auto-brightness
+ adjustment. It is expected to be somewhat less than the first entry in
+ config_autoBrightnessLcdBacklightValues so as to allow the user to have
+ some range of adjustment to dim the screen further than usual in very
+ dark rooms. The contents of the screen must still be clearly visible
+ in darkness (although they may not be visible in a bright room). -->
+ <integer name="config_screenBrightnessDark">2</integer>
+
<!-- The duration (in milliseconds) that the radio will scan for a signal
when there's no network connection. If the scan doesn't timeout, use zero -->
<integer name="config_radioScanningTimeout">9000</integer>