summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoungsang Cho <youngsang@google.com>2014-08-29 11:21:17 +0900
committerYoungsang Cho <youngsang@google.com>2014-09-01 16:50:12 +0900
commit676f571fa9897e36ffbe2638afe3965aa1f7268d (patch)
treececc3471f8cefd998b7ef68d2995fbfa480dcd80
parenta69296b7a1563568907d0ae94bdb6f332333c09c (diff)
downloadandroid_device_google_atv-676f571fa9897e36ffbe2638afe3965aa1f7268d.tar.gz
android_device_google_atv-676f571fa9897e36ffbe2638afe3965aa1f7268d.tar.bz2
android_device_google_atv-676f571fa9897e36ffbe2638afe3965aa1f7268d.zip
Add KEYCODE_TV_INPUT in global_keys.xml
By default, TV_INPUT buttons will be handled inside TV app. Bug: 17321349 Change-Id: I8e7272079ba9c92c78dd24df8da5ace9d593e9da
-rw-r--r--overlay/frameworks/base/core/res/res/xml/global_keys.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/overlay/frameworks/base/core/res/res/xml/global_keys.xml b/overlay/frameworks/base/core/res/res/xml/global_keys.xml
index 4662da5..334672d 100644
--- a/overlay/frameworks/base/core/res/res/xml/global_keys.xml
+++ b/overlay/frameworks/base/core/res/res/xml/global_keys.xml
@@ -29,6 +29,7 @@
<!-- Example format: id = keycode to handle globally. component = component which will handle
this key. -->
<key keyCode="KEYCODE_TV" component="com.android.tv/.receiver.GlobalKeyReceiver" />
+ <key keyCode="KEYCODE_TV_INPUT" component="com.android.tv/.receiver.GlobalKeyReceiver" />
<!-- OEMs might want to add more custom global key handlings for TV specific key codes such as
- KEYCODE_TVINPUT, KEYCODE_TVGUIDE and KEYCODE_DVR. -->
+ KEYCODE_TVGUIDE and KEYCODE_DVR. -->
</global_keys>