mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-23 06:50:35 +00:00
fix
Signed-off-by: wenjinchao <wenjinchao@huawei.com> Change-Id: Ifd07c667063472c775635223ca4e39297bbc1c50
This commit is contained in:
parent
33f160d4f0
commit
371465bf36
@ -345,22 +345,6 @@ int32_t UdmfServiceImpl::VerifyUnifiedData(UnifiedData &unifiedData)
|
||||
return E_OK;
|
||||
}
|
||||
|
||||
// bool UdmfServiceImpl::SetRemoteUri(std::vector<std::shared_ptr<UnifiedRecord>> &records)
|
||||
// {
|
||||
// for (auto record : records) {
|
||||
// if (record != nullptr && PreProcessUtils::IsFileType(record->GetType())) {
|
||||
// auto file = static_cast<File *>(record.get());
|
||||
// std::string remoteUri = file->GetRemoteUri();
|
||||
// if (remoteUri.empty()) {
|
||||
// ZLOGE("Get remoteUri is empyt!");
|
||||
// return false;
|
||||
// }
|
||||
// file->SetUri(remoteUri); // cross dev, need dis path.
|
||||
// }
|
||||
// }
|
||||
// return true;
|
||||
// }
|
||||
|
||||
int32_t UdmfServiceImpl::GetBatchData(const QueryOption &query, std::vector<UnifiedData> &unifiedDataSet)
|
||||
{
|
||||
ZLOGD("start");
|
||||
|
@ -59,7 +59,6 @@ private:
|
||||
int32_t RetrieveData(const QueryOption &query, UnifiedData &unifiedData);
|
||||
int32_t QueryDataCommon(const QueryOption &query, std::vector<UnifiedData> &dataSet, std::shared_ptr<Store> &store);
|
||||
int32_t ProcessUri(const QueryOption &query, UnifiedData &unifiedData);
|
||||
// bool SetRemoteUri(std::vector<std::shared_ptr<UnifiedRecord>> &records);
|
||||
bool IsPermissionInCache(const QueryOption &query);
|
||||
bool IsReadAndKeep(const std::vector<Privilege> &privileges, const QueryOption &query);
|
||||
int32_t VerifyUnifiedData(UnifiedData &unifiedData);
|
||||
|
Loading…
Reference in New Issue
Block a user