change inner kits to be better

Signed-off-by: Sven Wang <wanghancai@huawei.com>
This commit is contained in:
Sven Wang 2021-12-02 11:55:43 +08:00
parent e5e33a782f
commit 5e174b2e7e

View File

@ -459,14 +459,11 @@ std::shared_ptr<SingleKvStore> BmsBundleInstallerModuleTest::GetKvStorePtr(Distr
options.kvStoreType = KvStoreType::SINGLE_VERSION;
AppId appId{Constants::APP_ID};
StoreId storeId{Constants::STORE_ID};
std::shared_ptr<SingleKvStore> kvStorePtr = nullptr;
Status status = dataManager.GetSingleKvStore(options, appId, storeId, kvStorePtr);
if (status != Status::SUCCESS) {
APP_LOGE("BundleDataStorage::GetKvStore return error: %{public}d", status);
}
return kvStorePtr;
}