summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Amano <samano@xevo.com>2018-06-26 20:24:17 +0900
committerSho Amano <samano@xevo.com>2018-06-26 20:25:24 +0900
commit3af790011f6170cf2c4f6f0caffec615065c2c26 (patch)
tree2d0a47f8b11a679f8a302a0f7bf39383c74906c3
parent408ac4d00ec4ac69a8da26d6f599fdb6b2faddd5 (diff)
downloadsdl_core-3af790011f6170cf2c4f6f0caffec615065c2c26.tar.gz
Revert the fix for invalid memory access issue
... since this is not related to multiple-transports implementation. The fix is isolated to another PR: https://github.com/smartdevicelink/sdl_core/pull/2299.
-rw-r--r--src/components/application_manager/src/policies/policy_handler.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc
index d49f4e3af9..67658c2809 100644
--- a/src/components/application_manager/src/policies/policy_handler.cc
+++ b/src/components/application_manager/src/policies/policy_handler.cc
@@ -1527,13 +1527,6 @@ void PolicyHandler::CheckPermissions(
POLICY_LIB_CHECK_VOID();
const std::string hmi_level =
MessageHelper::StringifiedHMILevel(app->hmi_level());
- if (hmi_level.empty()) {
- LOG4CXX_WARN(logger_,
- "HMI level for " << app->policy_app_id() << " is invalid, rpc "
- << rpc << " is not allowed.");
- result.hmi_level_permitted = policy::kRpcDisallowed;
- return;
- }
const std::string device_id = MessageHelper::GetDeviceMacAddressForHandle(
app->device(), application_manager_);
LOG4CXX_INFO(logger_,