Merge "fastboot: Flashall does proper snapshot cancel"

am: 48d3b1e112

Change-Id: I85fe4961bc8111acf2c2c4a37f45c9f539729905
This commit is contained in:
Yifan Hong 2019-12-16 13:50:06 -08:00 committed by android-build-merger
commit cb6c6ef123
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ static void CancelSnapshotIfNeeded() {
std::string merge_status = "none";
if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS &&
merge_status != "none") {
fb->SnapshotUpdateCommand("Cancel");
fb->SnapshotUpdateCommand("cancel");
}
}