summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/get_dtcs_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/get_dtcs_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/get_dtcs_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/get_dtcs_request.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc b/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
index 8e2a0222f7..f6791759a4 100644
--- a/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
+++ b/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
@@ -59,12 +59,6 @@ void GetDTCsRequest::Run() {
return;
}
- if (mobile_api::HMILevel::HMI_NONE == app->hmi_level()) {
- LOG4CXX_ERROR(logger_, "App has not been activated");
- SendResponse(false, mobile_apis::Result::REJECTED);
- return;
- }
-
smart_objects::SmartObject msg_params = smart_objects::SmartObject(
smart_objects::SmartType_Map);