From a48b37cffe7ac193afe0382f36b9af12a79a8d78 Mon Sep 17 00:00:00 2001 From: guoyi Date: Thu, 19 Jun 2025 19:02:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0=E9=87=87?= =?UTF-8?q?=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: guoyi --- .../core/src/contentsensormanager/content_sensor_manager.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/core/src/contentsensormanager/content_sensor_manager.cpp b/services/core/src/contentsensormanager/content_sensor_manager.cpp index 9ed8ea38..a2e112bf 100644 --- a/services/core/src/contentsensormanager/content_sensor_manager.cpp +++ b/services/core/src/contentsensormanager/content_sensor_manager.cpp @@ -125,11 +125,6 @@ int32_t ContentSensorManager::CollectInfoToProfileData(DeviceProfile& collectPro if (collectProfile.GetAccountId().empty()) { collectProfile.SetAccountId(oldDeviceProfile.GetAccountId()); } - std::string marketName = ContentSensorManagerUtils::GetInstance().ObtainMarketName(); - if (!oldDeviceProfile.GetDeviceName().empty() && oldDeviceProfile.GetDeviceName() != marketName && - collectProfile.GetDeviceName() == collectProfile.GetProductName()) { - collectProfile.SetDeviceName(oldDeviceProfile.GetDeviceName()); - } } ret = ProfileDataManager::GetInstance().PutDeviceProfile(collectProfile); if (ret != DP_SUCCESS) { -- Gitee