From 05ff542090a63d1a0cdec152f0265dc9ad59fe79 Mon Sep 17 00:00:00 2001 From: Nathalie Le Clair Date: Fri, 13 Nov 2020 11:54:03 +0100 Subject: [PATCH] Update documentation of KEYCODE_TV_POWER Bug: 157402294 Test: N/A Change-Id: I1f117a88c715aadee6cc3dd5aa9a4f4af08cc7af --- .../com/android/server/hdmi/cec_key_handling.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/services/core/java/com/android/server/hdmi/cec_key_handling.md b/services/core/java/com/android/server/hdmi/cec_key_handling.md index d150dd3fceb99..1b41a67408691 100644 --- a/services/core/java/com/android/server/hdmi/cec_key_handling.md +++ b/services/core/java/com/android/server/hdmi/cec_key_handling.md @@ -9,13 +9,13 @@ Android TV requires special handling of some keys. The general action for key handling is described in the table -| Android Key | TV Panel | OTT | Soundbar | -| ----------- | ----------------- | ------------------- | ------------------- | -| general | Send to active source | handle on device | handle on device | -| POWER | Toggle the device power state | Toggle the TV power state | Toggle the TV power state | -| TV_POWER | Toggle the device power state | Toggle the TV power state | Toggle the TV power state | -| HOME | Turn on TV, Set active Source to TV, go to home screen | OTP, and go to home screen | OTP, and go to home screen | -| volume keys | Handle on device or send to soundbar | Send to TV or soundbar | Handle on device or send to TV | +| Android Key | TV Panel | OTT | Soundbar | +| ----------- | ----------------- | ------------------- | ------------------- | +| general | Send to active source | handle on device | handle on device | +| POWER | Toggle the device power state | Toggle the OTT power state, TV power state follows | Toggle the soundbar power state, TV power state follows| +| TV_POWER | Toggle the device power state | Toggle the TV power state, OTT power state follows | Toggle the TV power state, soundbar power state follows| +| HOME | Turn on TV, Set active Source to TV, go to home screen | OTP, and go to home screen | OTP, and go to home screen | +| volume keys | Handle on device or send to soundbar | Send to TV or soundbar | Handle on device or send to TV | Special cases and flags for each key are described below