🐞 fix(发现模块): 修改设备信息处理条件

This commit is contained in:
huheng@kylinos.cn 2023-06-05 09:52:08 +08:00
parent c0dd2c2e5a
commit d9eb1aa36e
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void Discovery::getDeviceInfo(char *buf, qint64 len)
return;
}
qInfo() << "GetDevTypeValue Success " << value;
if (value != KCommon::DeviceType::PC || value != KCommon::DeviceType::Phone) {
if (value != KCommon::DeviceType::PC && value != KCommon::DeviceType::Phone) {
return;
}
m_devType = value;