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

Commit ff84d52f authored by Hannah.Hsu's avatar Hannah.Hsu Committed by Hannah Hsu
Browse files

Fix <Routing Change> doesn't send on first switch.

Bug: 262692976

Test: manually test by boot up TV

Change-Id: I18d58be62c0c28ec8aa5dd3f92c777950b54fd08
parent 03626acc
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -377,6 +377,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
            return;
            return;
        }
        }
        int oldPath = getActivePortId() != Constants.INVALID_PORT_ID
        int oldPath = getActivePortId() != Constants.INVALID_PORT_ID
                && getActivePortId() != Constants.CEC_SWITCH_HOME
                ? mService.portIdToPath(getActivePortId()) : getDeviceInfo().getPhysicalAddress();
                ? mService.portIdToPath(getActivePortId()) : getDeviceInfo().getPhysicalAddress();
        setActivePath(oldPath);
        setActivePath(oldPath);
        if (mSkipRoutingControl) {
        if (mSkipRoutingControl) {