!1304 deviceId匿名化处理

Merge pull request !1304 from dengyutao/master
This commit is contained in:
openharmony_ci 2024-08-28 07:40:13 +00:00 committed by Gitee
commit 6ff59a6ed1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -21,6 +21,7 @@
#include <uv.h>
#include "ipc_debug.h"
#include "ipc_process_skeleton.h"
#include "iremote_invoker.h"
#include "log_tags.h"
#include "napi/native_api.h"
@ -351,7 +352,8 @@ int NAPIRemoteObject::OnRemoteRequest(uint32_t code, MessageParcel &data, Messag
ZLOGD(LOG_LABEL, "callingPid:%{public}u callingUid:%{public}u "
"callingDeviceID:%{public}s localDeviceId:%{public}s localCalling:%{public}d",
param->callingInfo.callingPid, param->callingInfo.callingUid,
param->callingInfo.callingDeviceID.c_str(), param->callingInfo.localDeviceID.c_str(),
IPCProcessSkeleton::ConvertToSecureString(param->callingInfo.callingDeviceID).c_str(),
IPCProcessSkeleton::ConvertToSecureString(param->callingInfo.localDeviceID).c_str(),
param->callingInfo.isLocalCalling);
int ret = OnJsRemoteRequest(param);
if (ret != 0) {