mirror of
https://gitee.com/openharmony/filemanagement_app_file_service
synced 2024-11-23 08:00:16 +00:00
update services/backup_sa/src/module_ipc/service_incremental.cpp.
Signed-off-by: chensihan <chensihan13@huawei.com>
This commit is contained in:
parent
71b0ba8103
commit
9df78e8d1c
@ -464,10 +464,6 @@ ErrCode Service::AppIncrementalFileReady(const std::string &fileName, UniqueFd f
|
||||
{
|
||||
HITRACE_METER_NAME(HITRACE_TAG_FILEMANAGEMENT, __PRETTY_FUNCTION__);
|
||||
try {
|
||||
if (session_ == nullptr) {
|
||||
HILOGE("AppIncrementalFileReady error, session is empty");
|
||||
return BError(BError::Codes::SA_INVAL_ARG);
|
||||
}
|
||||
string callerName = VerifyCallerAndGetCallerName();
|
||||
if (session_->GetScenario() == IServiceReverse::Scenario::RESTORE) {
|
||||
session_->GetServiceReverseProxy()->IncrementalRestoreOnFileReady(callerName, fileName, move(fd),
|
||||
|
Loading…
Reference in New Issue
Block a user