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

Commit 51409573 authored by Michael Wright's avatar Michael Wright
Browse files

Add Voice Assist key.

Bug: 16292420
Change-Id: I607fadc2edf673079bfd9f7406e6e45603474957
parent 61a4eecb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -273,7 +273,8 @@ enum {
    AKEYCODE_11              = 227,
    AKEYCODE_12              = 228,
    AKEYCODE_LAST_CHANNEL    = 229,
    AKEYCODE_TV_DATA_SERVICE = 230
    AKEYCODE_TV_DATA_SERVICE = 230,
    AKEYCODE_VOICE_ASSIST    = 231

    // 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.
+1 −0
Original line number Diff line number Diff line
@@ -270,6 +270,7 @@ static const InputEventLabel KEYCODES[] = {
    DEFINE_KEYCODE(12),
    DEFINE_KEYCODE(LAST_CHANNEL),
    DEFINE_KEYCODE(TV_DATA_SERVICE),
    DEFINE_KEYCODE(VOICE_ASSIST),

    { NULL, 0 }
};