From f675be4e745361c65a197bacea41c85a1127e50a Mon Sep 17 00:00:00 2001 From: Trunov Dmitrii Date: Fri, 8 Aug 2014 18:44:43 +0300 Subject: APPLINK-8637:SDL: Empty Show value parameter in Image structure should clear the graphic --- .../application_manager/src/commands/mobile/show_request.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/application_manager/src/commands/mobile/show_request.cc b/src/components/application_manager/src/commands/mobile/show_request.cc index 5f397ecb3..7bfdccc65 100644 --- a/src/components/application_manager/src/commands/mobile/show_request.cc +++ b/src/components/application_manager/src/commands/mobile/show_request.cc @@ -92,7 +92,9 @@ void ShowRequest::Run() { mobile_apis::Result::eType verification_result = mobile_apis::Result::SUCCESS; - if ((*message_)[strings::msg_params].keyExists(strings::graphic)) { + if (((*message_)[strings::msg_params].keyExists(strings::graphic)) && + ((*message_)[strings::msg_params] + [strings::graphic][strings::value].asString()).length()) { verification_result = MessageHelper::VerifyImage( (*message_)[strings::msg_params][strings::graphic], app); if (mobile_apis::Result::SUCCESS != verification_result) { -- cgit v1.2.1