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

Commit d2c7133f 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
parent bc5dee17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2685,7 +2685,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();
                }