diff options
author | BSolonenko <BSolonenko@luxoft.com> | 2018-05-22 13:40:28 +0300 |
---|---|---|
committer | BSolonenko <BSolonenko@luxoft.com> | 2018-07-09 10:56:09 +0300 |
commit | 7b899d1c0da11806976441c0220b40c574d4a380 (patch) | |
tree | 78ad9a637ba9b2ffac525d0877243b7724ed3498 | |
parent | f80e75e030ab3e628c5202e2ed84095ebb861856 (diff) | |
download | sdl_core-7b899d1c0da11806976441c0220b40c574d4a380.tar.gz |
Fixed: app does not activate when policies are disabled.
Removed POLICY_LIB_CHECK_VOID() from PolicyHandler::OnActivateApp as
redundant, because the case with disabled policy library is already
handled inside that function. Also, it works incorrectly for the case
when the policy is disabled - this macro breaks the function at the
beginning so applications could not be activated when policy library is
disabled.
-rw-r--r-- | src/components/application_manager/src/policies/policy_handler.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc index 1cff7b7c96..816bf384f6 100644 --- a/src/components/application_manager/src/policies/policy_handler.cc +++ b/src/components/application_manager/src/policies/policy_handler.cc @@ -1272,7 +1272,6 @@ void PolicyHandler::OnIgnitionCycleOver() { void PolicyHandler::OnActivateApp(uint32_t connection_key, uint32_t correlation_id) { LOG4CXX_AUTO_TRACE(logger_); - POLICY_LIB_CHECK_VOID(); ApplicationSharedPtr app = application_manager_.application(connection_key); if (!app.valid()) { LOG4CXX_WARN(logger_, "Activated App failed: no app found."); |