summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShobhitAd <adlakhshobhit@gmail.com>2018-11-14 14:16:51 -0500
committerShobhitAd <adlakhshobhit@gmail.com>2018-11-14 14:16:51 -0500
commit07e2490fcec48c6e4937ed3f5c8db150f7327a51 (patch)
treeb2e667a01da4f192da4f16c67d76533229a214b5
parenta6912d91f20058789b21c38a0f57a3d9d28b6e57 (diff)
downloadsdl_core-07e2490fcec48c6e4937ed3f5c8db150f7327a51.tar.gz
Made requested changes
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloudapp_properties_request.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloudapp_properties_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloudapp_properties_request.cc
index 49cb7029c7..ca5a46e3dc 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloudapp_properties_request.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloudapp_properties_request.cc
@@ -34,41 +34,41 @@ void SetCloudAppPropertiesRequest::Run() {
return;
}
- smart_objects::SmartObject cloudapp_properties(smart_objects::SmartType_Map);
+ smart_objects::SmartObject cloud_app_properties(smart_objects::SmartType_Map);
- cloudapp_properties[strings::msg_params][strings::app_name] =
+ cloud_app_properties[strings::msg_params][strings::app_name] =
(*message_)[strings::msg_params][strings::app_name];
- cloudapp_properties[strings::msg_params][strings::app_id] =
+ cloud_app_properties[strings::msg_params][strings::app_id] =
(*message_)[strings::msg_params][strings::app_id];
if ((*message_)[strings::msg_params].keyExists(strings::enabled)) {
smart_objects::SmartObject enabled =
(*message_)[strings::msg_params][strings::enabled];
- cloudapp_properties[strings::msg_params][strings::enabled] = enabled;
+ cloud_app_properties[strings::msg_params][strings::enabled] = enabled;
}
if ((*message_)[strings::msg_params].keyExists(
strings::cloud_app_auth_token)) {
smart_objects::SmartObject auth_token =
(*message_)[strings::msg_params][strings::cloud_app_auth_token];
- cloudapp_properties[strings::msg_params][strings::cloud_app_auth_token] =
+ cloud_app_properties[strings::msg_params][strings::cloud_app_auth_token] =
auth_token;
}
if ((*message_)[strings::msg_params].keyExists(
strings::cloud_transport_type)) {
smart_objects::SmartObject transport_type =
(*message_)[strings::msg_params][strings::cloud_transport_type];
- cloudapp_properties[strings::msg_params][strings::cloud_transport_type] =
+ cloud_app_properties[strings::msg_params][strings::cloud_transport_type] =
transport_type;
}
if ((*message_)[strings::msg_params].keyExists(
strings::hybrid_app_preference)) {
smart_objects::SmartObject hybrid_app_preference =
(*message_)[strings::msg_params][strings::hybrid_app_preference];
- cloudapp_properties[strings::msg_params][strings::hybrid_app_preference] =
+ cloud_app_properties[strings::msg_params][strings::hybrid_app_preference] =
hybrid_app_preference;
}
- policy_handler_.OnSetCloudAppProperties(cloudapp_properties);
+ policy_handler_.OnSetCloudAppProperties(cloud_app_properties);
SendResponse(true, mobile_apis::Result::SUCCESS);
}