diff options
author | Philip Junker <philipjunker@google.com> | 2022-05-09 07:56:16 +0000 |
---|---|---|
committer | Philip Junker <philipjunker@google.com> | 2022-05-09 09:55:44 +0000 |
commit | f5351dd99069b698d1fac9ec9e22ea9114e058aa (patch) | |
tree | aef9761fe4c6b80b9d312391fd0039c24b1d76f4 | |
parent | 728eb3dd4bf3f8d7c10b34a77b69c8b4603786ae (diff) | |
download | atv-f5351dd99069b698d1fac9ec9e22ea9114e058aa.tar.gz |
Mark KEYCODE_PAIRING dispatchWhenNonInteractive.
In Android S keys are not dispatched during screen off unless this
property is specified.
Test: manual
Bug: 226648416
Change-Id: I70de02cf0387e8f896e3e24db41670b4af57975b
-rw-r--r-- | overlay/TvFrameworkOverlay/res/xml/global_keys.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/TvFrameworkOverlay/res/xml/global_keys.xml b/overlay/TvFrameworkOverlay/res/xml/global_keys.xml index 1fadb57..a93cabe 100644 --- a/overlay/TvFrameworkOverlay/res/xml/global_keys.xml +++ b/overlay/TvFrameworkOverlay/res/xml/global_keys.xml @@ -32,7 +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" /> + <key keyCode="KEYCODE_PAIRING" component="com.android.tv.settings/.GlobalKeyReceiver" dispatchWhenNonInteractive="true" /> <!-- OEMs might want to add more custom global key handlings for TV specific key codes. --> </global_keys> |