OSDN Git Service

Ignore the light sensor if the screen is turning off.
authorMike Lockwood <lockwood@android.com>
Sun, 8 Nov 2009 23:33:03 +0000 (18:33 -0500)
committerMike Lockwood <lockwood@android.com>
Sun, 8 Nov 2009 23:43:12 +0000 (18:43 -0500)
commit497087e33d422d576d007f72fb970613d008f1cf
treecca8c0e983f47a903d76525f931a748ae3f83ba4
parent3f857b78fc68e5d700139bdc6078c5333b62a9bc
Ignore the light sensor if the screen is turning off.

Fixes bug b/2202165.  The light sensor was interfering with the screen off animation.

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