summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2017-09-04 17:52:23 +0100
committerMichael Wright <michaelwr@google.com>2017-09-04 17:52:23 +0100
commitb31e38363a56f6b53a19f954b9c4ef718fd917b6 (patch)
tree388099e09f9d33f5f04d3b0fec4a1a99e139fb0e
parentad6a7dd8951a24414e7b3c2a6ed74cc54d07cfe3 (diff)
downloaddevice_google_taimen-b31e38363a56f6b53a19f954b9c4ef718fd917b6.tar.gz
device_google_taimen-b31e38363a56f6b53a19f954b9c4ef718fd917b6.tar.bz2
device_google_taimen-b31e38363a56f6b53a19f954b9c4ef718fd917b6.zip
Increase the dim brightness.
Right now, the dim brightness is way too dim to the point where most things aren't visible even in low indoor lighting situations. Upping this a bit makes it still noticeably dimmer but a lot more visible in normal usage. It may be worth increasing further, but this is a good place to start. Bug: 65346115 Test: wait for the device to dim, see that's actually visible under 4k+ lux ambient light. Change-Id: Idf89f1309d7eae8d5ce4d617e6117c0f6cc76562
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 043809c..5605121 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -87,8 +87,19 @@
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">600</integer>
- <!-- Minimum screen brightness allowed by the power manager. -->
- <integer name="config_screenBrightnessDim">4</integer>
+ <!-- Screen brightness used to dim the screen when the user activity
+ timeout expires. May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDim">15</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">1</integer>
<!-- Screen brightness when dozing. -->
<integer name="config_screenBrightnessDoze">13</integer>