commit | aadf8d5cc088c6dbe063de5da651a83466992512 | [log] [tgz] |
---|---|---|
author | Charles Lin <charleslin@realtek.com> | Thu Mar 30 13:34:54 2023 +0800 |
committer | Charles Lin <charleslin@realtek.com> | Fri Mar 31 08:45:11 2023 +0800 |
tree | d33cdb1974f3d1053f62d91f5e413ddb2beb2e4f | |
parent | c4a353c0ad052e95bfce5958f2de25307fa32106 [diff] |
hasKeycodeLocked() also checks usage codes Key map can use both scan code and usage code. Adding usage code check to avoid misjudgment. Bug: 275526611 Test: In Android TV, pairing a BT RCU with keylayout which has usage page/id for DPAD. In PlayStore app search box, make sure user can move focus to search result by pressing dpad DOWN key. Change-Id: I70687d308899537e457192458176b1553c350f14