diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index b4db7bc0e62a0..44c9f0f7544bf 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -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,