Update invoke Vendor Command Listener for Vendor ID check

If CEC device send incorrect Vendor ID, vendor command listener can't process it,
should return false to notify the CEC device <Feature Abort> this message

Change-Id: I25fdc5f6b39d6342447ff2cae0b8688d1e4d8ee0
Bug: 268129479
Test: CtsHdmiCecHostTestCases
This commit is contained in:
Winni Chang
2023-03-09 13:58:34 +08:00
parent df8c1f6495
commit 9c0bf705b9

View File

@@ -3774,11 +3774,12 @@ public class HdmiControlService extends SystemService {
}
try {
record.mListener.onReceived(srcAddress, destAddress, params, hasVendorId);
return true;
} catch (RemoteException e) {
Slog.e(TAG, "Failed to notify vendor command reception", e);
}
}
return true;
return false;
}
}