summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-04-06 22:06:53 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-04-06 22:06:53 +0000
commitd3a8ad1200ef6b492a5f120fdd7defaee9fb56ab (patch)
tree1cc3661b74a2350fe9f50d32004d816382f3a82b
parent159aaf4b8f358b0043722f258c65635f83380617 (diff)
parent28d49bc3153891ac0a3f10e5496376063f7eec76 (diff)
Snap for 7262953 from 28d49bc3153891ac0a3f10e5496376063f7eec76 to rvc-d2-release
Change-Id: If031afacf41c3d9198ae2d514998b77fd1c7f40c
-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) {