mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-27 01:11:15 +00:00
change inner kits to be better
Signed-off-by: Sven Wang <wanghancai@huawei.com>
This commit is contained in:
parent
e5e33a782f
commit
5e174b2e7e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user