mirror of
https://github.com/openharmony/bundlemanager_ecological_rule_manager.git
synced 2026-07-01 12:33:50 -04:00
!80 merge refs/merge-requests/80/head into master
【轻量级 PR】update: 更新文件 ecological_rule_mgr_service_param.cpp Created-by: xxj_codeHub Commit-by: xxj_codeHub Merged-by: openharmony_ci Description: update: 更新文件 ecological_rule_mgr_service_param.cpp Signed-off-by: xxj_master<xiexiaojian1@h-partners.com> See merge request: openharmony/bundlemanager_ecological_rule_manager!80
This commit is contained in:
@@ -140,13 +140,9 @@ CallerInfo *CallerInfo::Unmarshalling(Parcel &in)
|
||||
|
||||
bool CallerInfo::Marshalling(Parcel &parcel) const
|
||||
{
|
||||
bool res = parcel.WriteString(packageName) && parcel.WriteInt32(uid) && parcel.WriteInt32(pid) &&
|
||||
parcel.WriteInt32(callerAppType) && parcel.WriteInt32(targetAppType);
|
||||
if (!res) {
|
||||
LOG_ERROR("write CallerInfo failed");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
LOG_ERROR("CallerInfo Marshalling is already implemented independently at the upper layer, so ERMS CallerInfo "
|
||||
"Marshalling is not required.");
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string CallerInfo::ToString() const
|
||||
|
||||
Reference in New Issue
Block a user