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

Commit 2a19765e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Get max-download-size from device during fastbootd for flashall/update" into qt-dev

parents 7eeed228 f929aaa7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1177,6 +1177,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 {