mirror of
https://gitee.com/openharmony/deviceprofile_device_info_manager
synced 2024-11-30 11:11:32 +00:00
update services/core/src/utils/profile_cache.cpp.
Signed-off-by: torrizo <lishenhao2@huawei.com>
This commit is contained in:
parent
b7aa5928b7
commit
a67d10d059
@ -590,7 +590,7 @@ int32_t ProfileCache::SetSwitchByProfile(const CharacteristicProfile& charProfil
|
||||
bool ProfileCache::IsSwitchValid(const CharacteristicProfile& charProfile,
|
||||
const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate)
|
||||
{
|
||||
HILOGI("call!");
|
||||
HILOGD("call!");
|
||||
if (charProfile.GetCharacteristicKey() != SWITCH_STATUS || switchServiceMap.empty()) {
|
||||
HILOGE("params invalid");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user