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

Commit ae7b3381 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "HDMI: On <Report PA> from current path send <Set Stream Path>" into main

parents 5ae6d5ad aba04008
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -646,9 +646,9 @@ public class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        int address = message.getSource();
        int type = message.getParams()[2];

        if (!ActiveSource.of(address, path).equals(getActiveSource())) {
            HdmiLogger.debug("Check if a new device is connected to the active path");
            handleNewDeviceAtTheTailOfActivePath(path);
        if (getActiveSource().logicalAddress != address && getActivePath() == path) {
            HdmiLogger.debug("New logical address detected on the current active path.");
            startRoutingControl(path, path, null);
        }
        startNewDeviceAction(ActiveSource.of(address, path), type);
        return Constants.HANDLED;