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

Commit 5ada180b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix `fastboot flash-all` on Nexus 7." am: a552265e

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1324873

Change-Id: Ie1a0ca4e8d28e752d872e9738b9d2242c53ef2db
parents 30ec7c39 a552265e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1229,7 +1229,7 @@ static void reboot_to_userspace_fastboot() {
static void CancelSnapshotIfNeeded() {
    std::string merge_status = "none";
    if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS &&
        merge_status != "none") {
        !merge_status.empty() && merge_status != "none") {
        fb->SnapshotUpdateCommand("cancel");
    }
}