summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/get_urls.cc
diff options
context:
space:
mode:
authorAndrey Oleynik <AOleynik@luxoft.com>2015-02-10 15:15:34 +0200
committerAleksandr Galiuzov <AGaliuzov@luxoft.com>2015-02-23 14:24:10 +0200
commit2048d3d647468549de488ffab07c7d4820eaf5d0 (patch)
tree8cf7a97cdb0c4946497367353903772630295087 /src/components/application_manager/src/commands/hmi/get_urls.cc
parent80262cc136c286b945209dfb612f663fc8522cbf (diff)
downloadsdl_core-2048d3d647468549de488ffab07c7d4820eaf5d0.tar.gz
APPLINK-11208. Implemented policy support for QueryApps URLs.
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/get_urls.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/get_urls.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/get_urls.cc b/src/components/application_manager/src/commands/hmi/get_urls.cc
index 70ca40d1ed..c8a3471675 100644
--- a/src/components/application_manager/src/commands/hmi/get_urls.cc
+++ b/src/components/application_manager/src/commands/hmi/get_urls.cc
@@ -51,8 +51,10 @@ void GetUrls::Run() {
object[strings::params][strings::message_type] = MessageType::kResponse;
if (policy::PolicyHandler::instance()->PolicyEnabled()) {
policy::EndpointUrls endpoints;
- policy::PolicyHandler::instance()->GetUpdateUrls(
- object[strings::msg_params][hmi_request::service].asInt(), endpoints);
+ policy::PolicyHandler::instance()->GetServiceUrls(
+ object[strings::msg_params][hmi_request::service].asString(),
+ endpoints);
+
if (!endpoints.empty()) {
object[strings::msg_params].erase(hmi_request::service);