mirror of
https://gitee.com/openharmony/deviceprofile_device_info_manager
synced 2024-11-22 23:19:50 +00:00
fix codecheck
Signed-off-by: wangzhaohao <wangzhaohao@huawei.com>
This commit is contained in:
parent
25e3d8c43b
commit
5d8fa7e307
@ -398,9 +398,6 @@ int32_t SubscribeProfileManager::NotifyCharProfileUpdate(const std::string& dbKe
|
||||
newCharProfile.SetServiceName(ProfileUtils::GetNonOhSuffixServiceNameByDBKey(dbKey));
|
||||
newCharProfile.SetCharacteristicKey(ProfileUtils::GetCharKeyByDBKey(dbKey));
|
||||
ProfileUtils::EntriesToCharProfile(values, newCharProfile);
|
||||
// TODO
|
||||
// 1. 判断是否是本设备数据,不是需要将对端设备的udid转换成本地设备的udid
|
||||
// 2. dbKey 也要替换,这样才能获取业务真是订阅的数据
|
||||
auto subscriberInfos = GetSubscribeInfos(DBKeyToSubcribeKey(dbKey));
|
||||
if (subscriberInfos.empty()) {
|
||||
return DP_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user