Call setArcStatus(false) before standby

[Description]
DisableDevice is called before standby.
If clearDeviceInfoList() is called before <Terminate ARC> is received,
CEC can't get device info & portId of AVR
And thus enableAudioReturnChannel is not success.

Therefore, we call setArcStatus(false) earlier
before RequestArcTerminationAction and receives <Terminate ARC>

Note that we don't use SetArcTransmissionStateAction since it is not
safe to create too many Actions during standby process

Bug: 137344668
Bug: 157184079

Change-Id: Ic67b31ce7d9b1dc0c3c578f87fdd782fcc797d3e
This commit is contained in:
daren.liao
2020-05-19 14:15:00 +08:00
committed by Austin Shin
parent 15075fcca0
commit ab378a865a

View File

@@ -1667,6 +1667,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
if (avr == null) {
return;
}
setArcStatus(false);
// Seq #44.
removeAction(RequestArcInitiationAction.class);