[FAQ17469]打开自动调节背光功能后,手动调节背光到最小,屏幕完全变黑

当打开自动调节背光功能的时候,手动调节设置中背光滚动条将背光设置到最小,屏幕会完全变黑,这种现象可能与lcm的最小亮度有关,可以采用如下方式解决: 
1、adb comand设置背光,确定可以使lcm点亮的最小背光值
adb shell echo xx >/sys/class/leds/lcd-backlight/brightness     xx为backlight level
 
2、修改alps/frameworks/base/core/res/res/values/config.xml中如下参数的值为步骤1中所获取的最小背光值
<!-- 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>

你可能感兴趣的:([FAQ17469]打开自动调节背光功能后,手动调节背光到最小,屏幕完全变黑)