summaryrefslogtreecommitdiff
path: root/src/components/remote_control/src/commands/base_command_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/remote_control/src/commands/base_command_request.cc')
-rw-r--r--src/components/remote_control/src/commands/base_command_request.cc25
1 files changed, 0 insertions, 25 deletions
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 e74e51439b..bc6202d2a8 100644
--- a/src/components/remote_control/src/commands/base_command_request.cc
+++ b/src/components/remote_control/src/commands/base_command_request.cc
@@ -560,30 +560,5 @@ void BaseCommandRequest::ProcessAccessResponse(
}
}
-void BaseCommandRequest::CheckHMILevel(application_manager::TypeAccess access,
- bool user_consented) {
- LOG4CXX_AUTO_TRACE(logger_);
- switch (access) {
- case application_manager::kAllowed:
- if (user_consented) {
- if (app_->hmi_level() == mobile_apis::HMILevel::eType::HMI_NONE) {
- LOG4CXX_DEBUG(logger_,
- "RSDL functionality for "
- << app_->name().c_str()
- << " is auto allowed; setting BACKGROUND level.");
- service_->ChangeNotifyHMILevel(
- app_, mobile_apis::HMILevel::eType::HMI_BACKGROUND);
- }
- }
- break;
- case application_manager::kDisallowed:
- default:
- LOG4CXX_DEBUG(logger_,
- "No access information or disallowed: "
- << "do nothing about hmi levels");
- break;
- }
-}
-
} // namespace commands
} // namespace remote_control