diff options
Diffstat (limited to 'src/components/application_manager/src/policies/policy_handler.cc')
-rw-r--r-- | src/components/application_manager/src/policies/policy_handler.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc index 9c0f5da73c..f41bb45dbf 100644 --- a/src/components/application_manager/src/policies/policy_handler.cc +++ b/src/components/application_manager/src/policies/policy_handler.cc @@ -376,10 +376,6 @@ const PolicySettings& PolicyHandler::get_settings() const { bool PolicyHandler::InitPolicyTable() { LOG4CXX_AUTO_TRACE(logger_); POLICY_LIB_CHECK_OR_RETURN(false); - // Subscribing to notification for system readiness to be able to get system - // info necessary for policy table - event_observer_->subscribe_on_event( - hmi_apis::FunctionID::BasicCommunication_OnReady); std::string preloaded_file = get_settings().preloaded_pt_file(); if (file_system::FileExists(preloaded_file)) { const bool pt_inited = @@ -987,12 +983,6 @@ void PolicyHandler::OnGetSystemInfo(const std::string& ccpu_version, policy_manager_->SetSystemInfo(ccpu_version, wers_country_code, language); } -void PolicyHandler::OnSystemInfoUpdateRequired() { - LOG4CXX_AUTO_TRACE(logger_); - POLICY_LIB_CHECK_VOID(); - MessageHelper::SendGetSystemInfoRequest(application_manager_); -} - void PolicyHandler::OnVIIsReady() { LOG4CXX_AUTO_TRACE(logger_); const uint32_t correlation_id = @@ -1765,11 +1755,6 @@ void PolicyHandler::OnExceededTimeout() { policy_manager_->OnExceededTimeout(); } -void PolicyHandler::OnSystemReady() { - POLICY_LIB_CHECK_VOID(); - policy_manager_->OnSystemReady(); -} - const boost::optional<bool> PolicyHandler::LockScreenDismissalEnabledState() const { POLICY_LIB_CHECK_OR_RETURN(boost::optional<bool>()); |