From 734239185fdbc430196aca7ade7b322c169f9ee2 Mon Sep 17 00:00:00 2001 From: Sujith Ramakrishnan Date: Tue, 18 Jul 2017 18:54:15 -0700 Subject: Add a new keycode for TV (ALL_APPS) - KEYCODE_ALL_APPS: Launches all apps. For TV, this checks for launcher package in system image. Test: Manual: ALL_APPS: adb shell input keyevent 284 Test: also tested with --longpress for these keys Bug: 38496261 Change-Id: I2e50a569533f01d93c020adde672c842540f0193 --- include/android/keycodes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/android/keycodes.h') diff --git a/include/android/keycodes.h b/include/android/keycodes.h index e202060f16..2164d6163e 100644 --- a/include/android/keycodes.h +++ b/include/android/keycodes.h @@ -765,7 +765,9 @@ enum { /** fingerprint navigation key, left. */ AKEYCODE_SYSTEM_NAVIGATION_LEFT = 282, /** fingerprint navigation key, right. */ - AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283 + AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283, + /** all apps */ + AKEYCODE_ALL_APPS = 284 // 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. -- cgit v1.2.3-59-g8ed1b