summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/read_did_request.cc
diff options
context:
space:
mode:
authorAndrey Oleynik <aoleynik@luxoft.com>2015-07-01 17:26:36 +0300
committerAndrey Oleynik <my@email.com>2015-07-05 16:56:08 +0300
commitb7408cb0252d584d244a2e767a36d491dd3f6c46 (patch)
treee6c82dad6d13ba17d1de2886ff6e7ee910634cf1 /src/components/application_manager/src/commands/mobile/read_did_request.cc
parent89f3a68b46674e5e88d3da612ea50287b8b317ff (diff)
downloadsdl_core-b7408cb0252d584d244a2e767a36d491dd3f6c46.tar.gz
Removes explicit HMI level check within several commands.
Affected commands: GetVehicleData, ReadDID, GetDTC, OnDriverDistraction Policy table will regulate if request is allowed to run in certain HMI level instead of explicit check. Closes-bug: APPLINK-13894, APPLINK-14187
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/read_did_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/read_did_request.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/mobile/read_did_request.cc b/src/components/application_manager/src/commands/mobile/read_did_request.cc
index 5a066aab4d..18f43f12ca 100644
--- a/src/components/application_manager/src/commands/mobile/read_did_request.cc
+++ b/src/components/application_manager/src/commands/mobile/read_did_request.cc
@@ -64,12 +64,6 @@ void ReadDIDRequest::Run() {
return;
}
- if (mobile_api::HMILevel::HMI_NONE == app->hmi_level()) {
- SendResponse(false, mobile_apis::Result::REJECTED);
- LOG4CXX_ERROR(logger_, "Rejected");
- return;
- }
-
if (app->IsCommandLimitsExceeded(
static_cast<mobile_apis::FunctionID::eType>(function_id()),
application_manager::TLimitSource::CONFIG_FILE)) {