Merge commit 'c1bb46e9d58f05449d8420c81f5cae06e1084ac2' into eclair-mr2-plus-aosp * commit 'c1bb46e9d58f05449d8420c81f5cae06e1084ac2': 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
|
||||
}
|
||||
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user