summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/src/policy_manager_impl.cc
diff options
context:
space:
mode:
authorcollin <collin+i@collinmcqueen.com>2021-02-11 13:06:40 -0500
committercollin <collin+i@collinmcqueen.com>2021-02-11 13:06:40 -0500
commita54c2685219d126fc302dcbec1f3eea76c1a0be0 (patch)
treefaf7bbadf8578e6c8010ebb12d3c09d6ec5d0043 /src/components/policy/policy_regular/src/policy_manager_impl.cc
parent2a0e2a27fc7beaad4af90ddc59e0ced47091fb83 (diff)
parentf8c35107709ba19eda35664b90d3c7e9aada8c56 (diff)
downloadsdl_core-a54c2685219d126fc302dcbec1f3eea76c1a0be0.tar.gz
Merge branch 'feature/sdl_0293_enable_oem_exclusive_apps_support_base_impl' of https://github.com/LuxoftSDL/sdl_core into LuxoftSDL-feature/sdl_0293_enable_oem_exclusive_apps_support_base_impl
Diffstat (limited to 'src/components/policy/policy_regular/src/policy_manager_impl.cc')
-rw-r--r--src/components/policy/policy_regular/src/policy_manager_impl.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/policy/policy_regular/src/policy_manager_impl.cc b/src/components/policy/policy_regular/src/policy_manager_impl.cc
index 059375322a..b6101eb960 100644
--- a/src/components/policy/policy_regular/src/policy_manager_impl.cc
+++ b/src/components/policy/policy_regular/src/policy_manager_impl.cc
@@ -1217,11 +1217,22 @@ void PolicyManagerImpl::SetSystemInfo(const std::string& ccpu_version,
cache_->SetMetaInfo(ccpu_version, wers_country_code, language);
}
+void PolicyManagerImpl::SetHardwareVersion(
+ const std::string& hardware_version) {
+ SDL_LOG_AUTO_TRACE();
+ cache_->SetHardwareVersion(hardware_version);
+}
+
std::string PolicyManagerImpl::GetCCPUVersionFromPT() const {
SDL_LOG_AUTO_TRACE();
return cache_->GetCCPUVersionFromPT();
}
+std::string PolicyManagerImpl::GetHardwareVersionFromPT() const {
+ SDL_LOG_AUTO_TRACE();
+ return cache_->GetHardwareVersionFromPT();
+}
+
uint32_t PolicyManagerImpl::GetNotificationsNumber(const std::string& priority,
const bool is_subtle) const {
SDL_LOG_AUTO_TRACE();