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

Commit a7a64fde authored by Nathalie Le Clair's avatar Nathalie Le Clair
Browse files

Add portId to HPD-related methods

Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
Bug: 266178786

Change-Id: Ibacef0417d3b4e95ac3aca21724828a09e4e8d38
parent 2fb90954
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1128,8 +1128,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
@@ -1144,8 +1143,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);