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

Commit 6938d4cf authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Merge "Get max-download-size from device during fastbootd for flashall/update"...

Merge "Get max-download-size from device during fastbootd for flashall/update" am: b545055f am: 322daf4a
am: cdb75a8f

Change-Id: I00074be23730b7f82885eaa9673f8e91b32831f1
parents 4c349a89 cdb75a8f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1175,6 +1175,10 @@ static void reboot_to_userspace_fastboot() {
    if (!is_userspace_fastboot()) {
        die("Failed to boot into userspace fastboot; one or more components might be unbootable.");
    }

    // Reset target_sparse_limit after reboot to userspace fastboot. Max
    // download sizes may differ in bootloader and fastbootd.
    target_sparse_limit = -1;
}

class ImageSource {