Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abf7fed2 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I2b7c8a32 into eclair

* changes:
  Fix more of bug 2290852: Don't wake screen when bluetooth headset is connected or disconnected.
parents 90aaaef5 5db42400
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,