summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Junker <philipjunker@google.com>2022-04-06 10:41:54 +0000
committerPhilip Junker <philipjunker@google.com>2022-04-22 07:53:21 +0000
commit59f8025c6a1a67d21e61fb34389f9889fe93804f (patch)
treed68e161dae126be205a947822a0583a89ee1c6d2
parentb6b116ebae1865eef6ce86fafc487fb774660a81 (diff)
downloadatv-59f8025c6a1a67d21e61fb34389f9889fe93804f.tar.gz
Set TvSettings global key receiver as default for KEYCODE_PAIRING.
Bug: 226648416 Test: manual Change-Id: I8772c8ba744533d88775334cbfbd8f1c204ad019
-rw-r--r--overlay/TvFrameworkOverlay/res/xml/global_keys.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/TvFrameworkOverlay/res/xml/global_keys.xml b/overlay/TvFrameworkOverlay/res/xml/global_keys.xml
index 4c0ab10..1fadb57 100644
--- a/overlay/TvFrameworkOverlay/res/xml/global_keys.xml
+++ b/overlay/TvFrameworkOverlay/res/xml/global_keys.xml
@@ -32,6 +32,7 @@
<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" />
+ <key keyCode="KEYCODE_PAIRING" component="com.android.tv.settings/.GlobalKeyReceiver" />
<!-- OEMs might want to add more custom global key handlings for TV specific key codes. -->
</global_keys>