diff options
Diffstat (limited to 'src/components/policy/policy_regular/src/cache_manager.cc')
-rw-r--r-- | src/components/policy/policy_regular/src/cache_manager.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/policy/policy_regular/src/cache_manager.cc b/src/components/policy/policy_regular/src/cache_manager.cc index 991c6a1363..2556a07709 100644 --- a/src/components/policy/policy_regular/src/cache_manager.cc +++ b/src/components/policy/policy_regular/src/cache_manager.cc @@ -684,6 +684,10 @@ const policy::VehicleInfo CacheManager::GetVehicleInfo() const { void CacheManager::GetEnabledCloudApps( std::vector<std::string>& enabled_apps) const { +#if !defined(CLOUD_APP_WEBSOCKET_TRANSPORT_SUPPORT) + enabled_apps.clear(); + return; +#else const policy_table::ApplicationPolicies& policies = pt_->policy_table.app_policies_section.apps; for (policy_table::ApplicationPolicies::const_iterator it = policies.begin(); @@ -694,6 +698,7 @@ void CacheManager::GetEnabledCloudApps( enabled_apps.push_back((*it).first); } } +#endif // CLOUD_APP_WEBSOCKET_TRANSPORT_SUPPORT } bool CacheManager::GetCloudAppParameters( |