Merge commit '8fcb312f6ca409ca46812303a405e3403fe71e9a' * commit '8fcb312f6ca409ca46812303a405e3403fe71e9a': 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