diff options
Diffstat (limited to 'src/components/policy/policy_external/src/update_status_manager.cc')
-rw-r--r-- | src/components/policy/policy_external/src/update_status_manager.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/src/update_status_manager.cc b/src/components/policy/policy_external/src/update_status_manager.cc index bf20f9dd55..3653983c8f 100644 --- a/src/components/policy/policy_external/src/update_status_manager.cc +++ b/src/components/policy/policy_external/src/update_status_manager.cc @@ -108,6 +108,12 @@ void UpdateStatusManager::OnValidUpdateReceived() { ProcessEvent(kOnValidUpdateReceived); } +void UpdateStatusManager::ResetTimeout(uint32_t update_timeout) { + LOG4CXX_AUTO_TRACE(logger_); + update_status_thread_delegate_->updateTimeOut( + update_timeout); // Restart Timer +} + void UpdateStatusManager::OnWrongUpdateReceived() { LOG4CXX_AUTO_TRACE(logger_); update_status_thread_delegate_->updateTimeOut(0); // Stop Timer |