OSDN Git Service

Manage button and keyboard backlights with light sensor in both manual and automatic...
authorMike Lockwood <lockwood@android.com>
Sun, 1 Nov 2009 13:16:33 +0000 (08:16 -0500)
committerMike Lockwood <lockwood@android.com>
Sun, 1 Nov 2009 13:20:42 +0000 (08:20 -0500)
commit4984e73dc5fc3df757e4ac8dd333b88151deb3ea
tree436b874efd259c1c81bdcebd979f77d26932e184
parentdf024920ebc63a82f570105c7a26e339ff244afd
Manage button and keyboard backlights with light sensor in both manual and automatic mode.

Now the manual brightness mode only applies to the LCD backlight and
button and keyboard backlights are always managed automatically.

Fixes bug b/2195798 (Passion capacitive key backlights don't always come on)

This change only affects the framework based auto-brightness implementation.
Hardware auto-brightness is not affected.

Change-Id: Ib88310d642d498591e8879c8269d630ff3f7c8af
Signed-off-by: Mike Lockwood <lockwood@android.com>
services/java/com/android/server/PowerManagerService.java