diff options
author | JackLivio <jack@livio.io> | 2018-10-03 10:15:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 10:15:40 -0400 |
commit | 486610a54ae35b6cebf62b5ff4cc07f0ee9d1543 (patch) | |
tree | 3371a5144a41fcdd049eff4602e0d1909e301a2b /src/components/policy/policy_regular/src/update_status_manager.cc | |
parent | 8d2f777498d744e890a2b5148c69969940ccd655 (diff) | |
download | sdl_core-486610a54ae35b6cebf62b5ff4cc07f0ee9d1543.tar.gz |
Remove OnPolicyInit, Unused Function (#2650)
Diffstat (limited to 'src/components/policy/policy_regular/src/update_status_manager.cc')
-rw-r--r-- | src/components/policy/policy_regular/src/update_status_manager.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/components/policy/policy_regular/src/update_status_manager.cc b/src/components/policy/policy_regular/src/update_status_manager.cc index 97a1573176..c37f8bbadc 100644 --- a/src/components/policy/policy_regular/src/update_status_manager.cc +++ b/src/components/policy/policy_regular/src/update_status_manager.cc @@ -119,14 +119,6 @@ void UpdateStatusManager::OnNewApplicationAdded(const DeviceConsent consent) { ProcessEvent(kOnNewAppRegistered); } -void UpdateStatusManager::OnPolicyInit(bool is_update_required) { - LOG4CXX_AUTO_TRACE(logger_); - if (is_update_required) { - current_status_.reset(new UpToDateStatus()); - ProcessEvent(kScheduleUpdate); - } -} - void UpdateStatusManager::OnDeviceConsented() { LOG4CXX_AUTO_TRACE(logger_); if (app_registered_from_non_consented_device_) { |