summaryrefslogtreecommitdiff
path: root/src/components/policy
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2018-06-18 08:22:27 -0700
committerGitHub <noreply@github.com>2018-06-18 08:22:27 -0700
commit7f4db1878dc618e3d8454d9b70b665bf79fea5ed (patch)
tree9e3aa46ba0691d1f830a0208f585573cb9bd4993 /src/components/policy
parent1527db9a68a54e07891ccfad0c2532f0813704d7 (diff)
parentd99d7f2fa71205a5f1a69d07b1abb75ef2c1fc7f (diff)
downloadsdl_core-7f4db1878dc618e3d8454d9b70b665bf79fea5ed.tar.gz
Merge pull request #2105 from smartdevicelink/feature/get_system_time
Feature/get system time
Diffstat (limited to 'src/components/policy')
-rw-r--r--src/components/policy/policy_regular/src/policy_manager_impl.cc6
1 files changed, 2 insertions, 4 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 a48a9a1ba0..84d4ac853a 100644
--- a/src/components/policy/policy_regular/src/policy_manager_impl.cc
+++ b/src/components/policy/policy_regular/src/policy_manager_impl.cc
@@ -219,10 +219,8 @@ bool PolicyManagerImpl::LoadPT(const std::string& file,
return false;
}
- if (pt_update->policy_table.module_config.certificate.is_initialized()) {
- listener_->OnCertificateUpdated(
- *(pt_update->policy_table.module_config.certificate));
- }
+ listener_->OnCertificateUpdated(
+ *(pt_update->policy_table.module_config.certificate));
std::map<std::string, StringArray> app_hmi_types;
cache_->GetHMIAppTypeAfterUpdate(app_hmi_types);