From 333be323b6a38a13f9139230cd65e48d8df30ab2 Mon Sep 17 00:00:00 2001 From: BrainL Date: Sat, 1 Feb 2025 19:29:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AD=98=E5=82=A8=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=AD=90=E7=B3=BB=E7=BB=9FIDL=E5=8C=96=E5=85=B3=E8=81=94?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BrainL --- services/backup_sa/src/module_external/sms_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backup_sa/src/module_external/sms_adapter.cpp b/services/backup_sa/src/module_external/sms_adapter.cpp index 81ceb224f..a0b683afc 100644 --- a/services/backup_sa/src/module_external/sms_adapter.cpp +++ b/services/backup_sa/src/module_external/sms_adapter.cpp @@ -53,7 +53,7 @@ StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const string &bund { StorageManager::BundleStats bundleStats; auto storageMgr = GetStorageManager(); - if (storageMgr->GetBundleStats(bundleName, bundleStats)) { + if (storageMgr->GetBundleStats(bundleName, bundleStats, 0, 0)) { throw BError(BError::Codes::SA_BROKEN_IPC, "Failed to get bundle stats"); } return bundleStats; -- Gitee From 0c4778d599bb2fe2c1db76108a89c2d323ca730a Mon Sep 17 00:00:00 2001 From: BrainL Date: Mon, 3 Feb 2025 19:32:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AD=98=E5=82=A8=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=AD=90=E7=B3=BB=E7=BB=9FIDL=E5=8C=96=E5=85=B3=E8=81=94?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BrainL --- services/backup_sa/include/module_external/bms_adapter.h | 2 +- services/backup_sa/include/module_external/sms_adapter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/backup_sa/include/module_external/bms_adapter.h b/services/backup_sa/include/module_external/bms_adapter.h index 72fd55d18..a438547cf 100644 --- a/services/backup_sa/include/module_external/bms_adapter.h +++ b/services/backup_sa/include/module_external/bms_adapter.h @@ -22,7 +22,7 @@ #include "b_json/b_json_entity_caps.h" #include "bundlemgr/bundle_mgr_interface.h" #include "b_incremental_data.h" -#include "istorage_manager.h" +#include "out/rk3568/gen/foundation/filemanagement/storage_service/services/storage_manager/istorage_manager.h" namespace OHOS::FileManagement::Backup { class InnerReceiverImpl; diff --git a/services/backup_sa/include/module_external/sms_adapter.h b/services/backup_sa/include/module_external/sms_adapter.h index 2f81154cd..76678c09a 100644 --- a/services/backup_sa/include/module_external/sms_adapter.h +++ b/services/backup_sa/include/module_external/sms_adapter.h @@ -20,7 +20,7 @@ #include #include -#include "istorage_manager.h" +#include "out/rk3568/gen/foundation/filemanagement/storage_service/services/storage_manager/istorage_manager.h" namespace OHOS::FileManagement::Backup { class StorageMgrAdapter { -- Gitee