OSDN Git Service

Add a temporary hack to report screen on while dozing.
authorJeff Brown <jeffbrown@google.com>
Wed, 12 Mar 2014 03:56:26 +0000 (20:56 -0700)
committerJeff Brown <jeffbrown@google.com>
Wed, 12 Mar 2014 03:56:26 +0000 (20:56 -0700)
commite39ef098963df1c50912cfeb53c01868ad91a48b
tree618c657dd262f765f1040caf0d54fb97e6539595
parentcc9894c82559d63b1ae89635b0ae9965e03d598e
Add a temporary hack to report screen on while dozing.

The window manager and view hierarchy currently disable all drawing
when PowerManager.isScreenOn() returns false so no drawing occurs
while dozing.  This will be fixed in a future patch to take the
display blanking state into account correctly.

This patch is a workaround to unblock development in the meantime.

Bug: 13133142
Change-Id: I2dc0b422c77285e657d73adca2606aa68264d987
services/core/java/com/android/server/power/PowerManagerService.java