From e1d1a09b713f8bee727d259a91493d84b79b3922 Mon Sep 17 00:00:00 2001 From: AKalinich-Luxoft Date: Thu, 30 Nov 2017 12:30:27 +0200 Subject: Revert fix for HMI response resultCodes validation After inner clarifications and discussions was decided to revert that fix. It will be provided as a separate proposal if needed. --- .../application_manager/src/application_manager_impl.cc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc index 538932974e..795f5e5047 100644 --- a/src/components/application_manager/src/application_manager_impl.cc +++ b/src/components/application_manager/src/application_manager_impl.cc @@ -1909,19 +1909,6 @@ bool ApplicationManagerImpl::ManageMobileCommand( } if (message_type == mobile_apis::messageType::response) { - if (!message->isValid()) { - LOG4CXX_ERROR(logger_, "Mobile message response is invalid"); - smart_objects::SmartObjectSPtr response = - MessageHelper::CreateNegativeResponse( - connection_key, - static_cast(function_id), - correlation_id, - static_cast(mobile_apis::Result::GENERIC_ERROR)); - - SendMessageToMobile(response); - return false; - } - if (command->Init()) { command->Run(); command->CleanUp(); -- cgit v1.2.1