ConvertProperty isRemote.

Change-Id: I3bc1205f6acc316625dd18b6da86392d2ad36682
Signed-off-by: cuile4 <cuile4@huawei.com>
This commit is contained in:
cuile4 2024-09-03 22:28:39 +08:00
parent 5e48bacff4
commit 8409299100

View File

@ -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;
}