diff options
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r-- | fastboot/fastboot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index f8f7eb36e..c8caa67f4 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -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 { |