summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Ked (GitHub) <mked@luxoft.com>2019-06-26 14:59:46 +0300
committermked-luxoft <mked@luxoft.com>2019-08-27 16:28:10 +0300
commit91650c66313964c9db80d4ef6b3215ce70b63781 (patch)
tree46909a8a18b754cda48b612867ebc8425f29ce90
parent40b1fb44918cea4d902e3e835867709950dec871 (diff)
downloadsdl_core-91650c66313964c9db80d4ef6b3215ce70b63781.tar.gz
fixup! The permission change notification has been expanded.
-rw-r--r--src/components/application_manager/src/message_helper/message_helper.cc4
1 files changed, 2 insertions, 2 deletions
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 dd99d174f2..e2ed3fa820 100644
--- a/src/components/application_manager/src/message_helper/message_helper.cc
+++ b/src/components/application_manager/src/message_helper/message_helper.cc
@@ -2547,7 +2547,7 @@ void MessageHelper::SendOnPermissionsChangeNotification(
smart_objects::SmartObject(smart_objects::SmartType_Map);
if (encryprion_required.is_initialized()) {
- content[strings::msg_params][strings::requireEncryption] =
+ content[strings::msg_params][strings::require_encryption] =
static_cast<bool>(*encryprion_required);
}
content[strings::msg_params]["permissionItem"] =
@@ -2608,7 +2608,7 @@ void MessageHelper::SendOnPermissionsChangeNotification(
encryprion_required, rpc_permissions.require_encryption);
if (item_require_encryption.is_initialized()) {
const bool require_encryption = *item_require_encryption;
- permission_item[strings::requireEncryption] = require_encryption;
+ permission_item[strings::require_encryption] = require_encryption;
}
// Creating SO for hmiPermissions