diff options
| author | 2025-02-16 18:43:42 -0800 | |
|---|---|---|
| committer | 2025-02-20 05:22:47 -0800 | |
| commit | c95e6e175a7917e094debb9b31c6bd371a8b65ef (patch) | |
| tree | d63646718d4e3316f253e4db1e6ce25bc6b9f25e | |
| parent | d38edb3d5da3c269850983f0f40b4097f5c0ca3b (diff) | |
Send KEYCODE_POWER instead of KEYCODE_TV_POWER.
From b/291854577, KEYCODE_TV_POWER has some problem as interoperability issues where the TV doesn't act on the HDMI-CEC messages as expected. Also, if the set-top box's and TV's power state are not in sync (one is ON and the other is OFF), the power control could be wrong.
From https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_TV_POWER, it seems this is only for like set-top box to use HDMI-CEC to control TV power or not. But both TV and STB support KEYCODE_POWER.
Bug: 390553665
Change-Id: If664d7a6dd680579c7e6d69e1fcd900edb3530f0
Flag: EXEMPT bugfix
| -rw-r--r-- | data/keyboards/Vendor_0957_Product_0031.kl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/keyboards/Vendor_0957_Product_0031.kl b/data/keyboards/Vendor_0957_Product_0031.kl index b47ee58c0c10..dd9fbe54c4a0 100644 --- a/data/keyboards/Vendor_0957_Product_0031.kl +++ b/data/keyboards/Vendor_0957_Product_0031.kl @@ -15,7 +15,7 @@ # Key Layout file for Google Reference RCU Remote with customizable button. # -key 116 TV_POWER WAKE +key 116 POWER WAKE key 217 ASSIST WAKE key 423 MACRO_1 WAKE |