mirror of
https://gitee.com/openharmony/distributeddatamgr_pasteboard
synced 2024-11-27 01:52:01 +00:00
ConvertProperty isRemote.
Change-Id: I3bc1205f6acc316625dd18b6da86392d2ad36682 Signed-off-by: cuile4 <cuile4@huawei.com>
This commit is contained in:
parent
5e48bacff4
commit
8409299100
@ -152,6 +152,7 @@ PasteDataProperty ConvertUtils::ConvertProperty(const std::shared_ptr<UnifiedDat
|
||||
pasteDataProperty.tag = properties->tag;
|
||||
auto utdIds = unifiedData.GetTypesLabels();
|
||||
pasteDataProperty.mimeTypes = Convert(utdIds);
|
||||
pasteDataProperty.isRemote = properties->isRemote;
|
||||
return PasteDataProperty(pasteDataProperty);
|
||||
}
|
||||
|
||||
@ -163,6 +164,7 @@ std::shared_ptr<UnifiedDataProperties> ConvertUtils::ConvertProperty(const Paste
|
||||
unifiedDataProperties->extras = properties.additions;
|
||||
unifiedDataProperties->timestamp = properties.timestamp;
|
||||
unifiedDataProperties->tag = properties.tag;
|
||||
unifiedDataProperties->isRemote = properties.isRemote;
|
||||
return unifiedDataProperties;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user