summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Kutsan <akutsan@luxoft.com>2017-08-29 19:09:24 +0300
committerAlexander Kutsan <akutsan@luxoft.com>2017-08-29 19:09:24 +0300
commitcec3cf94c4e4176b6ca636663e7ec5f5251c01f2 (patch)
tree430fdb0ec2b1475aebe65b47d091b6b83d4c3ce6 /src
parentd52fa061fb97aed5fba074c063bf175431b4d343 (diff)
downloadsdl_core-cec3cf94c4e4176b6ca636663e7ec5f5251c01f2.tar.gz
Fix typo in Aqcuire -> Acquire
Diffstat (limited to 'src')
-rw-r--r--src/components/remote_control/include/remote_control/commands/base_command_request.h4
-rw-r--r--src/components/remote_control/src/commands/base_command_request.cc6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/remote_control/include/remote_control/commands/base_command_request.h b/src/components/remote_control/include/remote_control/commands/base_command_request.h
index eb6ea23f74..3fd27861b2 100644
--- a/src/components/remote_control/include/remote_control/commands/base_command_request.h
+++ b/src/components/remote_control/include/remote_control/commands/base_command_request.h
@@ -266,13 +266,13 @@ class BaseCommandRequest
bool CheckDriverConsent();
/**
- * @brief AqcuireResources checks whether resource status is busy or not and
+ * @brief AcquireResources checks whether resource status is busy or not and
* then tries to acquire this resource. In case driver consent is required -
* sends consent request to HMI.
* @return True in case of resource is free and successfully acquired,
* otherwise false
*/
- bool AqcuireResources();
+ bool AcquireResources();
inline bool IsAutoAllowed(application_manager::TypeAccess access) const;
void SendDisallowed(application_manager::TypeAccess access);
void SendGetUserConsent(const Json::Value& value);
diff --git a/src/components/remote_control/src/commands/base_command_request.cc b/src/components/remote_control/src/commands/base_command_request.cc
index f9bd165ebd..925f0c4e4e 100644
--- a/src/components/remote_control/src/commands/base_command_request.cc
+++ b/src/components/remote_control/src/commands/base_command_request.cc
@@ -331,10 +331,10 @@ void BaseCommandRequest::Run() {
}
LOG4CXX_TRACE(logger_, "RC interface is available!");
if (CheckPolicyPermissions() && CheckDriverConsent()) {
- if (AqcuireResources()) {
+ if (AcquireResources()) {
Execute(); // run child's logic
}
- // If resource is not aqcuired, AqcuireResources method will either
+ // If resource is not aqcuired, AcquireResources method will either
// send response to mobile or
// send additional request to HMI to ask driver consent
}
@@ -392,7 +392,7 @@ bool BaseCommandRequest::CheckDriverConsent() {
return false;
}
-bool BaseCommandRequest::AqcuireResources() {
+bool BaseCommandRequest::AcquireResources() {
LOG4CXX_AUTO_TRACE(logger_);
const Json::Value message_params =
MessageHelper::StringToValue(message_->json_message());