summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc
diff options
context:
space:
mode:
authorBSolonenko <BSolonenko@luxoft.com>2018-02-12 16:42:25 +0200
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-06-26 12:01:44 +0300
commit2294f0ba776c8dbb9a903ff567d53e91a059b906 (patch)
treefc062da8ecdc881754746e5108f014b100c06e5d /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc
parent085c51581ec4f0683db480c0de4be01bc7e88d6d (diff)
downloadsdl_core-2294f0ba776c8dbb9a903ff567d53e91a059b906.tar.gz
Replaced all usages of passed parameters in implementation.
Replaced all usages of passed parameters in implementation from application manager proxy to indirect call Add missed factories Remove commands includes
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc
index 747c2df908..eacf966843 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_received_policy_update.cc
@@ -64,8 +64,7 @@ void OnReceivedPolicyUpdate::Run() {
LOG4CXX_ERROR(logger_, "Failed to read Update file.");
return;
}
- application_manager_.GetPolicyHandler().ReceiveMessageFromSDK(file_path,
- file_content);
+ policy_handler_.ReceiveMessageFromSDK(file_path, file_content);
#else
LOG4CXX_WARN(logger_,
"This RPC is part of extended policy flow."