diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2020-05-27 17:23:16 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2020-05-27 17:23:16 -0400 |
commit | 275224129acf64a4f8707c6854b558ce548bbbed (patch) | |
tree | 66dcc0364836032cad653118ff22348992ff7256 | |
parent | ba4046b4aabbe8aebc294e50fc868ca306d82b4a (diff) | |
download | sdl_core-fix/osr_policy_retry_fix.tar.gz |
Fix issues with previous commitfix/osr_policy_retry_fix
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); } |