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/input/InputEventLabels.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/input/InputEventLabels.h') diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h index 20154eb10e..c282cf0b22 100644 --- a/include/input/InputEventLabels.h +++ b/include/input/InputEventLabels.h @@ -323,6 +323,7 @@ static const InputEventLabel KEYCODES[] = { DEFINE_KEYCODE(SYSTEM_NAVIGATION_DOWN), DEFINE_KEYCODE(SYSTEM_NAVIGATION_LEFT), DEFINE_KEYCODE(SYSTEM_NAVIGATION_RIGHT), + DEFINE_KEYCODE(ALL_APPS), { NULL, 0 } }; -- cgit v1.2.3-59-g8ed1b