mirror of
https://gitee.com/openharmony/deviceprofile_device_info_manager
synced 2024-11-22 23:19:50 +00:00
commit
1632eb3dd7
@ -301,8 +301,7 @@ int32_t ProfileControlUtils::GetCharacteristicProfile(std::shared_ptr<IKVAdapter
|
||||
std::string profileKeyPrefix = ProfileUtils::GenerateCharProfileKey(deviceId,
|
||||
ProfileUtils::CheckAndAddOhSuffix(serviceName, true), characteristicKey);
|
||||
if (kvStore->GetByPrefix(profileKeyPrefix, values) != DP_SUCCESS) {
|
||||
HILOGE("Get data fail!");
|
||||
return DP_GET_KV_DB_FAIL;
|
||||
HILOGE("Get data by oh suffix fail!");
|
||||
}
|
||||
}
|
||||
if (values.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user