Signed-off-by: z00544238 <zyc.wei@huawei.com>
This commit is contained in:
z00544238 2024-08-16 11:12:44 +08:00
parent 8cf4c1c322
commit 1b0a2cf7fd

View File

@ -516,6 +516,9 @@ int32_t UdmfServiceImpl::Sync(const QueryOption &query, const std::vector<std::s
if (asyncProcessInfo_.syncStatus != ASYNC_RUNNING) {
syncingData_ = false;
}
ZLOGD("store.Sync: name=%{public}s, id=%{public}u, status=%{public}u, total=%{public}u, finish=%{public}u",
syncInfo.srcDevName.c_str(), syncInfo.syncId, syncInfo.syncStatus,
syncInfo.syncTotal, syncInfo.syncFinished);
};
if (store->Sync(devices, callback) != E_OK) {
syncingData_ = false;