summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_system_request_notification.cc3
-rw-r--r--src/components/application_manager/src/message_helper/message_helper.cc2
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);
}