summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
diff options
context:
space:
mode:
authorAndrey Oleynik <aoleynik@luxoft.com>2016-12-13 17:44:31 +0200
committerAndrey Oleynik <aoleynik@luxoft.com>2016-12-13 17:51:42 +0200
commit751fee5c21355846aaf8a437b3516cb933b69f2e (patch)
tree7fc3c5836d71b8b927f64c38f11add771bb1813f /src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
parent0c0d6658ec7ab540bacbdbf225ebf682fd764e9e (diff)
downloadsdl_core-751fee5c21355846aaf8a437b3516cb933b69f2e.tar.gz
Renames EXTENDED_POLICY definition to PROPRIETARY_MODE to avoid confusion
Currently there are three modes HTTP, PROPRIETARY, EXTERNAL_PROPRIETARY for option named like EXTENDED_POLICY, so in order to avoid confusion with option name definition has been renamed. Relates-to: APPLINK-25462
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_received_policy_update.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_received_policy_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_received_policy_update.cc b/src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
index 9d3dde0f84..5d03e21b6f 100644
--- a/src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
+++ b/src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
@@ -47,7 +47,7 @@ OnReceivedPolicyUpdate::~OnReceivedPolicyUpdate() {}
void OnReceivedPolicyUpdate::Run() {
LOG4CXX_AUTO_TRACE(logger_);
-#if defined(EXTENDED_POLICY) || defined(EXTERNAL_PROPRIETARY)
+#if defined(PROPRIETARY_MODE) || defined(EXTERNAL_PROPRIETARY)
const std::string& file_path =
(*message_)[strings::msg_params][hmi_notification::policyfile].asString();
policy::BinaryMessage file_content;