update services/backup_sa/src/module_ipc/service_incremental.cpp.

Signed-off-by: chensihan <chensihan13@huawei.com>
This commit is contained in:
chensihan 2024-11-12 01:24:30 +00:00 committed by Gitee
parent 71b0ba8103
commit 9df78e8d1c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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),