diff options
Diffstat (limited to 'src/components/policy/policy_external/src/cache_manager.cc')
-rw-r--r-- | src/components/policy/policy_external/src/cache_manager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/src/cache_manager.cc b/src/components/policy/policy_external/src/cache_manager.cc index a49d450a9e..70129e16d9 100644 --- a/src/components/policy/policy_external/src/cache_manager.cc +++ b/src/components/policy/policy_external/src/cache_manager.cc @@ -2649,6 +2649,10 @@ bool CacheManager::Init(const std::string& file_name, LOG4CXX_DEBUG(logger_, "Check if snapshot valid: " << std::boolalpha << result); + if (!UnwrapAppPolicies(pt_->policy_table.app_policies_section.apps)) { + LOG4CXX_ERROR(logger_, "Cannot unwrap application policies"); + } + if (result) { backup_->UpdateDBVersion(); Backup(); |