!911 dms修改编译告警:调整初始化顺序

Merge pull request !911 from 师皓杰/master
This commit is contained in:
openharmony_ci 2024-05-23 09:52:40 +00:00 committed by Gitee
commit 8d2a3d1fc8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -333,15 +333,15 @@ Status DmsBmStorage::GetKvStore()
.encrypt = false,
.autoSync = false,
.isPublic = true,
.securityLevel = SecurityLevel::S1,
.cloudConfig = {
.enableCloud = true,
.autoSync = true
},
.securityLevel = SecurityLevel::S1,
.area = EL1,
.kvStoreType = KvStoreType::SINGLE_VERSION,
.dataType = DataType::TYPE_DYNAMICAL,
.baseDir = BMS_KV_BASE_DIR
.baseDir = BMS_KV_BASE_DIR,
.dataType = DataType::TYPE_DYNAMICAL
};
Status status = dataManager_.GetSingleKvStore(options, appId_, storeId_, kvStorePtr_);
if (status == Status::SUCCESS) {