From b7408cb0252d584d244a2e767a36d491dd3f6c46 Mon Sep 17 00:00:00 2001 From: Andrey Oleynik Date: Wed, 1 Jul 2015 17:26:36 +0300 Subject: 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 --- .../application_manager/src/commands/mobile/get_dtcs_request.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/components/application_manager/src/commands/mobile/get_dtcs_request.cc') 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); -- cgit v1.2.1