From 275224129acf64a4f8707c6854b558ce548bbbed Mon Sep 17 00:00:00 2001 From: jacobkeeler Date: Wed, 27 May 2020 17:23:16 -0400 Subject: Fix issues with previous commit --- .../sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc | 3 ++- .../application_manager/src/message_helper/message_helper.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc index 1e7a2c5fa4..4f83e3e653 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc @@ -88,7 +88,8 @@ void OnSystemRequestNotification::Run() { msg_params[strings::file_name].asString()); } else { // Clear cached retry info - policy_handler_.CacheRetryInfo(); + policy_handler_.CacheRetryInfo( + 0, std::string(), msg_params[strings::file_name].asString()); // URL and app are chosen by Core for PROPRIETARY mode normally uint32_t app_id = 0; diff --git a/src/components/application_manager/src/message_helper/message_helper.cc b/src/components/application_manager/src/message_helper/message_helper.cc index d91e701c4c..d6fbed115b 100644 --- a/src/components/application_manager/src/message_helper/message_helper.cc +++ b/src/components/application_manager/src/message_helper/message_helper.cc @@ -2546,7 +2546,7 @@ void MessageHelper::SendPolicySnapshotNotification( LOG4CXX_WARN(logger_, "No service URLs"); } - content[strings::params][strings::file_name] = snapshot_file_path; + content[strings::msg_params][strings::file_name] = snapshot_file_path; SendSystemRequestNotification(connection_key, content, app_mngr); } -- cgit v1.2.1