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

Commit d711ef1d authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

* commit '37bf0789':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
parents c339554f 37bf0789
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -266,6 +266,8 @@ enum {
    AKEYCODE_BRIGHTNESS_DOWN = 220,
    AKEYCODE_BRIGHTNESS_UP   = 221,
    AKEYCODE_MEDIA_AUDIO_TRACK = 222,
    AKEYCODE_SLEEP           = 223,
    AKEYCODE_WAKEUP          = 224,

    // NOTE: If you add a new keycode here you must also add it to several other files.
    //       Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
+2 −0
Original line number Diff line number Diff line
@@ -247,6 +247,8 @@ static const KeycodeLabel KEYCODES[] = {
    { "BRIGHTNESS_DOWN", 220 },
    { "BRIGHTNESS_UP", 221 },
    { "MEDIA_AUDIO_TRACK", 222 },
    { "SLEEP", 223 },
    { "WAKEUP", 224 },

    // NOTE: If you add a new keycode here you must also add it to several other files.
    //       Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.