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

Commit 22fa94a1 authored by Michael Wright's avatar Michael Wright Committed by Android Git Automerger
Browse files

am 0598d730: am 6959865f: Merge "Remove SLEEP and POWER from wake key list." into mnc-dev

* commit '0598d730':
  Remove SLEEP and POWER from wake key list.
parents 8de7d296 0598d730
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1817,9 +1817,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
    public static final boolean isWakeKey(int keyCode) {
        switch (keyCode) {
            case KeyEvent.KEYCODE_BACK:
            case KeyEvent.KEYCODE_POWER:
            case KeyEvent.KEYCODE_MENU:
            case KeyEvent.KEYCODE_SLEEP:
            case KeyEvent.KEYCODE_WAKEUP:
            case KeyEvent.KEYCODE_PAIRING:
                return true;