summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/application_manager/src/commands/mobile/show_request.cc4
1 files changed, 3 insertions, 1 deletions
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) {