未验证 提交 4857bbfa 编写于 作者: O openharmony_ci 提交者: Gitee

!725 [master] dcts失败用例修复

Merge pull request !725 from 马根堂/master
......@@ -530,9 +530,6 @@ int IPCObjectProxy::GetProtoInfo()
switch (reply.ReadUint32()) {
case IRemoteObject::IF_PROT_BINDER: {
remoteDescriptor_ = reply.ReadString16();
ZLOGD(LABEL, "it is normal binder, handle:%{public}u desc:%{public}s",
handle_, Str16ToStr8(remoteDescriptor_).c_str());
break;
}
case IRemoteObject::IF_PROT_DATABUS: {
......
......@@ -372,7 +372,7 @@ int32_t IPCObjectStub::ProcessProto(uint32_t code, MessageParcel &data, MessageP
{
int result = ERR_NONE;
ZLOGD(LABEL, "normal stub object, descriptor_=%{public}s", Str16ToStr8(descriptor_).c_str());
if (!reply.WriteUint32(IRemoteObject::IF_PROT_BINDER) || !reply.WriteString16(descriptor_)) {
if (!reply.WriteUint32(IRemoteObject::IF_PROT_BINDER)) {
ZLOGE(LABEL, "write to parcel fail");
result = IPC_STUB_WRITE_PARCEL_ERR;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册