diff --git a/common/src/ipc/standard/ipc_model_codec.cpp b/common/src/ipc/standard/ipc_model_codec.cpp index e582e1bcd8eabac56fe5bb5dc5acecc1fcc225cf..ec2ee1bab85261c7346bc185f61f5935324efc42 100644 --- a/common/src/ipc/standard/ipc_model_codec.cpp +++ b/common/src/ipc/standard/ipc_model_codec.cpp @@ -93,7 +93,6 @@ bool IpcModelCodec::EncodeDmAccessCallee(const DmAccessCallee &callee, MessagePa bool bRet = true; bRet = (bRet && parcel.WriteString(callee.accountId)); bRet = (bRet && parcel.WriteString(callee.networkId)); - bRet = (bRet && parcel.WriteString(callee.peerId)); bRet = (bRet && parcel.WriteString(callee.pkgName)); bRet = (bRet && parcel.WriteInt32(callee.userId)); bRet = (bRet && parcel.WriteString(callee.extra)); diff --git a/interfaces/inner_kits/native_cpp/include/dm_device_info.h b/interfaces/inner_kits/native_cpp/include/dm_device_info.h index 32892edcc098ad633956e9c7e8c483bd482bd5e2..3e5115f255e67e33fe898b1a97b3cd88859500ff 100644 --- a/interfaces/inner_kits/native_cpp/include/dm_device_info.h +++ b/interfaces/inner_kits/native_cpp/include/dm_device_info.h @@ -384,7 +384,6 @@ typedef struct DmAccessCaller { typedef struct DmAccessCallee { std::string accountId; std::string networkId; - std::string peerId; std::string pkgName; int32_t userId; uint64_t tokenId = 0; diff --git a/services/service/src/ipc/standard/ipc_cmd_parser.cpp b/services/service/src/ipc/standard/ipc_cmd_parser.cpp index 58517d1567c15030abaa37ca975a1aa5333b1c8b..0afb451bf31685751ce181b0c7d16bcfb3a550e4 100644 --- a/services/service/src/ipc/standard/ipc_cmd_parser.cpp +++ b/services/service/src/ipc/standard/ipc_cmd_parser.cpp @@ -67,7 +67,6 @@ void DecodeDmAccessCallee(MessageParcel &parcel, DmAccessCallee &callee) { callee.accountId = parcel.ReadString(); callee.networkId = parcel.ReadString(); - callee.peerId = parcel.ReadString(); callee.pkgName = parcel.ReadString(); callee.userId = parcel.ReadInt32(); callee.extra = parcel.ReadString();