Merge change I2b7c8a32 into eclair

* changes:
  Fix more of bug 2290852: Don't wake screen when bluetooth headset is connected or disconnected.
This commit is contained in:
Android (Google) Code Review
2009-11-30 16:39:53 -08:00

View File

@@ -6397,7 +6397,9 @@ public class WindowManagerService extends IWindowManager.Stub
// Ignore
}
if (eventType != TOUCH_EVENT
if (ev.classType == RawInputEvent.CLASS_CONFIGURATION_CHANGED) {
// do not wake screen in this case
} else if (eventType != TOUCH_EVENT
&& eventType != LONG_TOUCH_EVENT
&& eventType != CHEEK_EVENT) {
mPowerManager.userActivity(curTime, false,