summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJae Seo <jaeseo@google.com>2016-04-01 19:23:37 +0900
committerJae Seo <jaeseo@google.com>2016-04-01 19:23:37 +0900
commit35b6675aa629dc5a690afa742d1bb6cb77773404 (patch)
treede4f77d1631669e6f87b12b707ac6696771580a9
parent020a50cdf3d69f7f8854fee6de3a53580d6caddb (diff)
downloaddevice_google_atv-35b6675aa629dc5a690afa742d1bb6cb77773404.tar.gz
device_google_atv-35b6675aa629dc5a690afa742d1bb6cb77773404.tar.bz2
device_google_atv-35b6675aa629dc5a690afa742d1bb6cb77773404.zip
Handle KEYCODE_GUIDE
Bug: 25824043 Change-Id: I7507ab641f4778c9d1814b8f789edced7722dc96
-rw-r--r--overlay/frameworks/base/core/res/res/xml/global_keys.xml5
1 files changed, 3 insertions, 2 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 0e761ef..f6142dc 100644
--- a/overlay/frameworks/base/core/res/res/xml/global_keys.xml
+++ b/overlay/frameworks/base/core/res/res/xml/global_keys.xml
@@ -28,8 +28,9 @@
<global_keys version="1">
<!-- Example format: id = keycode to handle globally. component = component which will handle
this key. -->
+ <key keyCode="KEYCODE_GUIDE" component="com.google.android.tv/.receiver.GlobalKeyReceiver" />
<key keyCode="KEYCODE_TV" component="com.google.android.tv/.receiver.GlobalKeyReceiver" />
<key keyCode="KEYCODE_TV_INPUT" component="com.google.android.tv/.receiver.GlobalKeyReceiver" />
- <!-- OEMs might want to add more custom global key handlings for TV specific key codes such as
- KEYCODE_TVGUIDE and KEYCODE_DVR. -->
+
+ <!-- OEMs might want to add more custom global key handlings for TV specific key codes. -->
</global_keys>