summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-08-21 19:09:49 -0700
committerMichael Wright <michaelwr@google.com>2014-08-21 19:09:49 -0700
commit51409573be11e89babeb61954a19c8261649ca7c (patch)
tree91a007dd19f799977c9a0aae2dafab5b87e892a2
parent61a4eecbe615bc94944161c4cf4aa590dfca1b2e (diff)
downloadframeworks_native-51409573be11e89babeb61954a19c8261649ca7c.zip
frameworks_native-51409573be11e89babeb61954a19c8261649ca7c.tar.gz
frameworks_native-51409573be11e89babeb61954a19c8261649ca7c.tar.bz2
Add Voice Assist key.
Bug: 16292420 Change-Id: I607fadc2edf673079bfd9f7406e6e45603474957
-rw-r--r--include/android/keycodes.h3
-rw-r--r--include/input/InputEventLabels.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h
index da7302d..813d411 100644
--- a/include/android/keycodes.h
+++ b/include/android/keycodes.h
@@ -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.
diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h
index 51f7661..279ac40 100644
--- a/include/input/InputEventLabels.h
+++ b/include/input/InputEventLabels.h
@@ -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 }
};