diff options
| author | 2022-08-23 10:04:25 +0800 | |
|---|---|---|
| committer | 2022-11-17 14:16:18 +0800 | |
| commit | ddc4753a8d9d76d1a27cc85103b709808d8feda3 (patch) | |
| tree | 5c12014333f2cc7e2357d63c19fec43d1b9d36dd /libs/androidfw/Util.cpp | |
| parent | 6cbc807a6f11f43054d0d0ff0221bb3e6ab35d1c (diff) | |
Send <Request ARC Termination> when Standby
[Description]
In aosp/1313995, we propose to disable ARC at first, in case that
AVR doesn’t response to <Request ARC Termination> during standby
and ARC pin is not disabled.
However, the proposed CL made TV never send <Request ARC Termination>
during standby process, which is not expected.
We still need to disable ARC Pin without waiting for <Termination ARC>
sent from AVR. However, this could be done by calling
enableAudioReturnChannel() of HdmiControlService directly after
RequestArcTerminationAction is started, making sure that
<Request ARC Termination> could be sent correctly by TV when ARC
was enabled
Note that after this modification, TV could receive <Terminate ARC>
after AVR deviceInfo is cleared. In this case, a new AVR deviceInfo
with physical address=0xFFFF is added by HdmiCecNetwork.
As a result, we also add error handling in enableAudioReturnChannel
for such case.
[Test Report]
1. Connect Denon AVR-3500H
- TV standby off/on, ARC is okay
- TV CEC off/on, ARC is okay.
2. atset HdmiCecLocalDeviceTvTest PASS
Bug: 243492848
Change-Id: Ib4b7d98a091c7cce37f5d4818b84807d67da016b
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions