update service/src/device_manager/src/connection_manager.cpp.

去掉容易误导的描述

Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
LongestDistance 2024-11-15 10:27:26 +00:00 committed by Gitee
parent d83196e1e3
commit 9a499a148e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1626,7 +1626,7 @@ void CastDeviceStateCallback::OnDeviceReady(const DmDeviceInfo &deviceInfo)
bool ConnectionManager::IsSingle(const CastInnerRemoteDevice &device)
{
if (device.authVersion == AUTH_VERSION_3) {
CLOGI("Is huawei single device");
CLOGI("Is hw single device");
return true;
}
return false;
@ -1635,7 +1635,7 @@ bool ConnectionManager::IsSingle(const CastInnerRemoteDevice &device)
bool ConnectionManager::IsHuaweiDevice(const CastInnerRemoteDevice &device)
{
if (device.authVersion == AUTH_VERSION_2) {
CLOGI("Is huawei device");
CLOGI("Is hw device");
return true;
}
return false;