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

Commit 92f336a9 authored by Raj Yengisetty's avatar Raj Yengisetty Committed by Rajesh Yengisetty
Browse files

Do not check mHomePressed on HOME in interceptKeyBeforeDispatching

Repro:
 - Open power menu
 - Press home
 - Observe: does not go home

Change-Id: I56cb33b95e2b7d5ee378b0e1b8ce7bc6bbd5e757
(cherry picked from commit d2c7133f)
(cherry picked from commit 5db942f0)
parent e318077b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2988,7 +2988,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {

            // If we have released the home key, and didn't do anything else
            // while it was pressed, then it is time to go home!
            if (!down && mHomePressed) {
            if (!down) {
                if (mDoubleTapOnHomeBehavior != KEY_ACTION_APP_SWITCH) {
                    cancelPreloadRecentApps();
                }