am abf7fed2: Merge change I2b7c8a32 into eclair
Merge commit 'abf7fed21bfa7eb899be558477d928a7c9f3e1f6' into eclair-mr2 * commit 'abf7fed21bfa7eb899be558477d928a7c9f3e1f6': Fix more of bug 2290852: Don't wake screen when bluetooth headset is connected or disconnected.
This commit is contained in:
@@ -6397,7 +6397,9 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
// Ignore
|
// 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 != LONG_TOUCH_EVENT
|
||||||
&& eventType != CHEEK_EVENT) {
|
&& eventType != CHEEK_EVENT) {
|
||||||
mPowerManager.userActivity(curTime, false,
|
mPowerManager.userActivity(curTime, false,
|
||||||
|
|||||||
Reference in New Issue
Block a user