diff --git a/services/core/src/contentsensormanager/content_sensor_manager.cpp b/services/core/src/contentsensormanager/content_sensor_manager.cpp index 9ed8ea3892249e6148066c21386d4b8d0c7259c9..a2e112bfde6d326cb8928653098f26b1c5508523 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) {