From 57a07175bc4f2e91f4c8ded9cdbf7e14514d71ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B7=8D?= Date: Mon, 19 May 2025 10:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A0=E6=95=88=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=89=8D=E5=90=8E=E4=B8=8D?= =?UTF-8?q?=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李巍 --- .../src/authentication_v2/auth_stages/auth_confirm.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/services/implementation/src/authentication_v2/auth_stages/auth_confirm.cpp b/services/implementation/src/authentication_v2/auth_stages/auth_confirm.cpp index 4b60b0201..b29c2422b 100644 --- a/services/implementation/src/authentication_v2/auth_stages/auth_confirm.cpp +++ b/services/implementation/src/authentication_v2/auth_stages/auth_confirm.cpp @@ -438,14 +438,7 @@ int32_t AuthSrcConfirmState::Action(std::shared_ptr context) { LOGI("start."); CHECK_NULL_RETURN(context, ERR_DM_POINT_NULL); - // check version compatibility context->timer->DeleteTimer(std::string(NEGOTIATE_TIMEOUT_TASK)); - if (CompareVersion(context->accessee.dmVersion, std::string(DM_VERSION_5_1_0))) { - LOGE("incompatible version %{public}s compare to 5.1.0", - context->accessee.dmVersion.c_str()); - context->reason = ERR_DM_VERSION_INCOMPATIBLE; - return ERR_DM_VERSION_INCOMPATIBLE; - } GetCustomDescBySinkLanguage(context); context->accessee.isOnline = SoftbusCache::GetInstance().CheckIsOnline(context->accessee.deviceIdHash); JsonObject credInfo; -- Gitee