diff options
| author | Varun Chitre <varun.chitre15@gmail.com> | 2015-04-27 00:45:18 -0400 |
|---|---|---|
| committer | Varun Chitre <varun.chitre15@gmail.com> | 2015-04-27 02:57:47 -0400 |
| commit | 769b5f76b174970306b477b1ddff99bc7a4f34f6 (patch) | |
| tree | 707603d21ae48abe2de7cd42938c35b5a77b72cd | |
| parent | 0d0723a87727fede6436ec2428ee6f4896fd59e7 (diff) | |
sprout4 : fix screen blackout
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 18 |
1 files changed, 18 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 6ffabc2..15ef29e 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -106,6 +106,15 @@ that can be set by the user. --> <integer name="config_screenBrightnessDim">20</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">20</integer> + <!-- This string array should be overridden by the device to present a list of network attributes. This is used by the connectivity manager to decide which networks can coexist based on the hardware --> @@ -152,6 +161,15 @@ Software implementation will be used if config_hardware_auto_brightness_available is not set --> <bool name="config_automatic_brightness_available">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">20</integer> + + <!-- Screen brightness used to dim the screen while dozing in a very low power state. + May be less than the minimum allowed brightness setting + that can be set by the user. --> + <integer name="config_screenBrightnessDoze">20</integer> + <!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. --> <bool name="config_unplugTurnsOnScreen">true</bool> |
