summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src/status.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_external/src/status.cc')
-rw-r--r--src/components/policy/policy_external/src/status.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/src/status.cc b/src/components/policy/policy_external/src/status.cc
index 7162410731..687bea1c3f 100644
--- a/src/components/policy/policy_external/src/status.cc
+++ b/src/components/policy/policy_external/src/status.cc
@@ -67,6 +67,9 @@ void policy::UpdateNeededStatus::ProcessEvent(
case kOnResetPolicyTableNoUpdate:
manager->SetNextStatus(std::make_shared<UpToDateStatus>());
break;
+ case kOnNewAppRegistered:
+ manager->SetNextStatus(std::make_shared<UpdateNeededStatus>());
+ break;
case kPendingUpdate:
manager->SetNextStatus(std::make_shared<UpdatePendingStatus>());
break;