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

Commit bad498f7 authored by Chenjie Luo's avatar Chenjie Luo
Browse files

Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

Bug: 25860409
Change-Id: I3f525c9c8df81807d98391c70cd2d1f8c139c8f5
parent eebf168e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1846,6 +1846,9 @@ public class KeyEvent extends InputEvent implements Parcelable {
            case KeyEvent.KEYCODE_MENU:
            case KeyEvent.KEYCODE_WAKEUP:
            case KeyEvent.KEYCODE_PAIRING:
            case KeyEvent.KEYCODE_STEM_1:
            case KeyEvent.KEYCODE_STEM_2:
            case KeyEvent.KEYCODE_STEM_3:
                return true;
        }
        return false;