diff options
author | Yana Chernysheva <ychernysheva@luxoft.com> | 2020-08-18 14:26:33 +0300 |
---|---|---|
committer | Yana Chernysheva <ychernysheva@luxoft.com> | 2020-08-18 14:26:33 +0300 |
commit | 460daf42f60bd69e83fc055143d122153a915939 (patch) | |
tree | 73937f471f60bbbd369e327d106a544adf4031d5 /src/components/application_manager/src/policies | |
parent | 668ac995133a1faad009fb07a32c9f3a62648653 (diff) | |
parent | 4c9f873f1b5f77b8a4076602c2f544809e97a24a (diff) | |
download | sdl_core-460daf42f60bd69e83fc055143d122153a915939.tar.gz |
Resolve conflicts
Diffstat (limited to 'src/components/application_manager/src/policies')
-rw-r--r-- | src/components/application_manager/src/policies/policy_handler.cc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc index b672f5ed06..66f04cff50 100644 --- a/src/components/application_manager/src/policies/policy_handler.cc +++ b/src/components/application_manager/src/policies/policy_handler.cc @@ -1017,6 +1017,11 @@ void PolicyHandler::OnSystemInfoChanged(const std::string& language) { policy_manager_->SetSystemLanguage(language); } +void PolicyHandler::SetPreloadedPtFlag(const bool is_preloaded) { + LOG4CXX_AUTO_TRACE(logger_); + policy_manager_->SetPreloadedPtFlag(is_preloaded); +} + void PolicyHandler::OnGetSystemInfo(const std::string& ccpu_version, const std::string& wers_country_code, const std::string& language) { @@ -1025,6 +1030,11 @@ void PolicyHandler::OnGetSystemInfo(const std::string& ccpu_version, policy_manager_->SetSystemInfo(ccpu_version, wers_country_code, language); } +std::string PolicyHandler::GetCCPUVersionFromPT() const { + LOG4CXX_AUTO_TRACE(logger_); + return policy_manager_->GetCCPUVersionFromPT(); +} + void PolicyHandler::OnVIIsReady() { LOG4CXX_AUTO_TRACE(logger_); const uint32_t correlation_id = @@ -1747,10 +1757,10 @@ void PolicyHandler::CheckPermissions( device_id, app->policy_app_id(), hmi_level, rpc, rpc_params, result); } -uint32_t PolicyHandler::GetNotificationsNumber( - const std::string& priority) const { +uint32_t PolicyHandler::GetNotificationsNumber(const std::string& priority, + const bool is_subtle) const { POLICY_LIB_CHECK_OR_RETURN(0); - return policy_manager_->GetNotificationsNumber(priority); + return policy_manager_->GetNotificationsNumber(priority, is_subtle); } DeviceConsent PolicyHandler::GetUserConsentForDevice( |