From ef7cdd5731b6311694267c412aea695b776edf3b Mon Sep 17 00:00:00 2001 From: yangwei_814916 Date: Sun, 1 Jun 2025 11:01:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?ACL=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangwei_814916 --- interfaces/inner_kits/native_cpp/include/dm_device_info.h | 1 - 1 file changed, 1 deletion(-) 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 32892edcc..3e5115f25 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; -- Gitee From 20bc957ece6c35f4a0d62d24a8d9bfa95f80546e Mon Sep 17 00:00:00 2001 From: yangwei_814916 Date: Sun, 1 Jun 2025 11:19:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?ACL=E6=A0=A1=E9=AA=8C=E5=88=A0=E9=99=A4peer?= =?UTF-8?q?id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangwei_814916 --- common/src/ipc/standard/ipc_model_codec.cpp | 1 - services/service/src/ipc/standard/ipc_cmd_parser.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/common/src/ipc/standard/ipc_model_codec.cpp b/common/src/ipc/standard/ipc_model_codec.cpp index e582e1bcd..ec2ee1bab 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/services/service/src/ipc/standard/ipc_cmd_parser.cpp b/services/service/src/ipc/standard/ipc_cmd_parser.cpp index 58517d156..0afb451bf 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(); -- Gitee