优化数据清理逻辑

Signed-off-by: m30043719 <maxiaodong25@huawei.com>
This commit is contained in:
m30043719 2024-11-06 12:04:38 +08:00
parent c01f4d089d
commit 001c3ab92b

View File

@ -127,6 +127,10 @@ void DnetworkAdapter::DmsDevTrustChangeCallback::OnDeviceTrustChange(const std::
HILOGE("udid or uuid is empty!");
return;
}
if (DmsKvSyncE2E::GetInstance()->CheckDeviceCfg()) {
HILOGI("this device type is special");
return;
}
if (authform != DmAuthForm::IDENTICAL_ACCOUNT) {
HILOGE("peer is not same account");
return;