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

Commit f022fdcf authored by Alex Sarraf's avatar Alex Sarraf Committed by Linux Build Service Account
Browse files

KeyEvent: Add support for Home key wakeup

Add Home key to list of wakeable buttons.

Change-Id: Ic452e4bf262301527f83d6dbd9bbaad7aa20a13e
parent ee09840e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1828,6 +1828,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
        switch (keyCode) {
            case KeyEvent.KEYCODE_BACK:
            case KeyEvent.KEYCODE_MENU:
            case KeyEvent.KEYCODE_HOME:
            case KeyEvent.KEYCODE_WAKEUP:
            case KeyEvent.KEYCODE_PAIRING:
                return true;