Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab378a86 authored by daren.liao's avatar daren.liao Committed by Austin Shin
Browse files

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
parent 15075fcc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1667,6 +1667,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        if (avr == null) {
            return;
        }
        setArcStatus(false);

        // Seq #44.
        removeAction(RequestArcInitiationAction.class);