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

Commit 14169ca4 authored by athurh's avatar athurh Committed by Pawit Pornkitprasan
Browse files

android.policy: Fix launching home when waking the device with the home button

Change-Id: I71845bf88943f5ef141ea5c533f997e09ab5b7f4
parent 09592c64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1889,7 +1889,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) {
            if (!down && mHomePressed) {
                final boolean homeWasLongPressed = mHomeLongPressed;
                mHomePressed = false;
                mHomeLongPressed = false;