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

Commit 1e94d6db authored by Amy Zhang's avatar Amy Zhang Committed by Android (Google) Code Review
Browse files

Merge "cec: switching to arc port one time at least when resume [1/2]"

parents 21a2e2d7 88a819f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1238,8 +1238,8 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource {
        }
        // Wake up if the current device if ready to route.
        mService.wakeUp();
        if (getLocalActivePort() == portId) {
            HdmiLogger.debug("Not switching to the same port " + portId);
        if ((getLocalActivePort() == portId) && (portId != Constants.CEC_SWITCH_ARC)) {
            HdmiLogger.debug("Not switching to the same port " + portId + " except for arc");
            return;
        }
        // Switch to HOME if the current active port is not HOME yet