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

Commit da5eb059 authored by Nathalie Le Clair's avatar Nathalie Le Clair Committed by Android (Google) Code Review
Browse files

Merge "Add portId to HPD-related methods"

parents 2dd68fbc a7a64fde
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1137,8 +1137,7 @@ final class HdmiCecController {
        @Override
        public void nativeSetHpdSignalType(int signal, int portId) {
            try {
                // TODO(b/266178786) add portId to the HAL method
                mHdmiConnection.setHpdSignal((byte) signal);
                mHdmiConnection.setHpdSignal((byte) signal, portId);
            } catch (ServiceSpecificException sse) {
                HdmiLogger.error(
                        "Could not set HPD signal type for portId " + portId + " to " + signal
@@ -1153,8 +1152,7 @@ final class HdmiCecController {
        @Override
        public int nativeGetHpdSignalType(int portId) {
            try {
                // TODO(b/266178786) add portId to the HAL method
                return mHdmiConnection.getHpdSignal();
                return mHdmiConnection.getHpdSignal(portId);
            } catch (RemoteException e) {
                HdmiLogger.error(
                        "Could not get HPD signal type for portId " + portId + ". Exception: ", e);