diff options
author | Marvin Ramin <marvinramin@google.com> | 2020-12-01 15:30:11 +0100 |
---|---|---|
committer | Marvin Ramin <marvinramin@google.com> | 2020-12-10 15:40:39 +0100 |
commit | 0786ebc98e63c8ab2650d9fead025e2e73c9aa21 (patch) | |
tree | deea8b246b8d24d811e4c2a8f290ca6856dccbf4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a02ab705641c23f3db9d46f225975de75bdf0d57 (diff) |
Update handling of incoming CEC power key presses
Update handling of <User Control Pressed> messages with power related
operands. Power commands change the power status properly and should not
be converted to power keycodes.
This particularly changes the handling of <User Control Pressed>["Power"]
which could be converted to KEYCODE_POWER before when the device was on
when the keycode was received, causing the device to turn off. This is
no longer supported and <User Control Pressed>["Power"] will be treated
as a power on command.
Test: atest HdmiCecLocalDeviceTest
Fixes: 174452275
Change-Id: I10f6d0d235d999bd29b54ba96728c0bda9697ec5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions