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

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

Merge "Only treat HDMI_RELATIVE_POSITION_BELOW as a switch" into main

parents b5460098 043029b4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -940,9 +940,7 @@ public final class TvInputInfo implements Parcelable {
                isHardwareInput = true;
                hdmiConnectionRelativePosition = getRelativePosition(mContext, mHdmiDeviceInfo);
                isConnectedToHdmiSwitch = hdmiConnectionRelativePosition
                                != HdmiUtils.HDMI_RELATIVE_POSITION_DIRECTLY_BELOW
                        && hdmiConnectionRelativePosition
                                != HdmiUtils.HDMI_RELATIVE_POSITION_UNKNOWN;
                                == HdmiUtils.HDMI_RELATIVE_POSITION_BELOW;
            } else if (mTvInputHardwareInfo != null) {
                id = generateInputId(componentName, mTvInputHardwareInfo);
                type = sHardwareTypeToTvInputType.get(mTvInputHardwareInfo.getType(), TYPE_TUNER);