From b7bd05cb7263271a376a13ab8f47bbfe480f5e78 Mon Sep 17 00:00:00 2001 From: Ira Lytvynenko Date: Thu, 15 Jun 2017 17:35:07 +0300 Subject: [PATCH] Add missed setup of last_processed_event_ Add missed last_processed_event_ key setup from changes related to "Fix UPDATE_NEEDED is sent if user requested PTU from HMI". --- .../policy/policy_external/src/update_status_manager.cc | 1 + 1 file changed, 1 insertion(+) 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 8b7635c25c2..78cafa044ca 100644 --- a/src/components/policy/policy_external/src/update_status_manager.cc +++ b/src/components/policy/policy_external/src/update_status_manager.cc @@ -62,6 +62,7 @@ UpdateStatusManager::~UpdateStatusManager() { void UpdateStatusManager::ProcessEvent(UpdateEvent event) { sync_primitives::AutoLock lock(status_lock_); current_status_->ProcessEvent(this, event); + last_processed_event_ = event; DoTransition(); }