summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-04-06 22:07:10 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-04-06 22:07:10 +0000
commitb19bc51aed2da23110292d1a3d1f14b834e1f232 (patch)
tree1cc3661b74a2350fe9f50d32004d816382f3a82b
parent1205ea684e81a6f14db7d5556f3eda2fd014b8d8 (diff)
parent28d49bc3153891ac0a3f10e5496376063f7eec76 (diff)
Snap for 7262953 from 28d49bc3153891ac0a3f10e5496376063f7eec76 to rvc-qpr3-release
Change-Id: I8804b624244c33da2be5fb3c016938034465fa4e
-rw-r--r--cleanup_previous_update_action.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cleanup_previous_update_action.cc b/cleanup_previous_update_action.cc
index 88dbc57e..9f84c3bd 100644
--- a/cleanup_previous_update_action.cc
+++ b/cleanup_previous_update_action.cc
@@ -153,6 +153,7 @@ void CleanupPreviousUpdateAction::CheckSlotMarkedSuccessfulOrSchedule() {
if (!kIsRecovery &&
!boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) {
ScheduleWaitMarkBootSuccessful();
+ return;
}
if (metadata_device_ == nullptr) {