aboutsummaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2015-06-15 15:59:59 +0530
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-06-19 18:05:25 +0000
commit0f25f850516674aa51794e2bda228bbe57ae4a74 (patch)
treeabb7219f37dd80c70f49dbb5a5eaa3a0061a446a /overlay
parentb79d1d90038a53b41b154d0713da5c935eb9bcad (diff)
overlay: Increase the darkest possible auto-brightness adjustment
* The default of 1 is too low for lettuce. * Increase the dim and minimum brightness to 10 (the default) to compensate for the increase here. Change-Id: Ib1642360feb6208daaeac016ec827112ef347076
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml15
1 files changed, 8 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 0e25cbf..d9495e0 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -90,8 +90,14 @@
<!-- Traffic stats -->
<string name="config_datause_iface">rmnet0</string>
- <!-- Minimum screen brightness allowed by the power manager. -->
- <integer name="config_screenBrightnessDim">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">5</integer>
<!-- Flag indicating whether we should enable the automatic brightness in Settings.
config_hardware_automatic_brightness_available is not set, so we will use software implementation -->
@@ -275,9 +281,4 @@
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool>
-
- <!-- Minimum screen brightness setting allowed by the power manager.
- The user is forbidden from setting the brightness below this level. -->
- <integer name="config_screenBrightnessSettingMinimum">5</integer>
-
</resources>