From: Alexander Kutsan Date: Wed, 2 Apr 2014 07:21:10 +0000 (+0300) Subject: APPLINK-6529 Review notes fix X-Git-Tag: 3.5~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=192c065ef95a102beb295bcfc7eefdc06c1c757e;p=profile%2Fivi%2Fsmartdevicelink.git APPLINK-6529 Review notes fix --- diff --git a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc index 0de0ad5..caf4771 100644 --- a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc +++ b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc @@ -55,15 +55,12 @@ void OnSystemRequestNotification::Run() { mobile_apis::RequestType::eType request_type = static_cast ((*message_)[strings::msg_params][strings::request_type].asInt()); - if (false == (*message_)[strings::msg_params].keyExists(strings::file_name)) { - return; - } std::string filename = (*message_)[strings::msg_params][strings::file_name].asString(); if (mobile_apis::RequestType::PROPRIETARY == request_type) { std::vector binary_data; file_system::ReadBinaryFile(filename, binary_data); - (*message_)[strings::msg_params][strings::binary_data] = binary_data; + (*message_)[strings::params][strings::binary_data] = binary_data; } SendNotification();