Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48d3b1e1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "fastboot: Flashall does proper snapshot cancel"

parents cd652ea3 712c32b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1226,7 +1226,7 @@ static void CancelSnapshotIfNeeded() {
    std::string merge_status = "none";
    std::string merge_status = "none";
    if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS &&
    if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS &&
        merge_status != "none") {
        merge_status != "none") {
        fb->SnapshotUpdateCommand("Cancel");
        fb->SnapshotUpdateCommand("cancel");
    }
    }
}
}