diff --git a/core/transmission/ipc/standard/src/trans_client_proxy_standard.cpp b/core/transmission/ipc/standard/src/trans_client_proxy_standard.cpp index 3576f37c8ea890592ae446f250300944beb61f4f..65447ee33c44faad8989fee375ee82d8696d7ced 100644 --- a/core/transmission/ipc/standard/src/trans_client_proxy_standard.cpp +++ b/core/transmission/ipc/standard/src/trans_client_proxy_standard.cpp @@ -259,17 +259,12 @@ int32_t TransClientProxy::OnChannelMsgReceived(int32_t channelId, int32_t channe } MessageParcel reply; - MessageOption option; + MessageOption option(MessageOption::TF_ASYNC); if (remote->SendRequest(CLIENT_ON_CHANNEL_MSGRECEIVED, data, reply, option) != 0) { SoftBusLog(SOFTBUS_LOG_TRAN, SOFTBUS_LOG_ERROR, "OnChannelMsgReceived send request failed"); return SOFTBUS_ERR; } - int32_t serverRet; - if (!reply.ReadInt32(serverRet)) { - SoftBusLog(SOFTBUS_LOG_TRAN, SOFTBUS_LOG_ERROR, "OnChannelMsgReceived read serverRet failed"); - return SOFTBUS_ERR; - } - return serverRet; + return SOFTBUS_OK; } int32_t TransClientProxy::OnChannelQosEvent(int32_t channelId, int32_t channelType, int32_t eventId, int32_t tvCount,