Merge "Get max-download-size from device during fastbootd for flashall/update" into qt-dev
This commit is contained in:
commit
2a19765eb5
1 changed files with 4 additions and 0 deletions
|
|
@ -1177,6 +1177,10 @@ static void reboot_to_userspace_fastboot() {
|
||||||
if (!is_userspace_fastboot()) {
|
if (!is_userspace_fastboot()) {
|
||||||
die("Failed to boot into userspace fastboot; one or more components might be unbootable.");
|
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 {
|
class ImageSource {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue