From 3dc7fcc0b69b20eb6fb34fdf36908313f2cf811e Mon Sep 17 00:00:00 2001 From: Daniel Zheng Date: Tue, 13 Jun 2023 14:53:32 -0700 Subject: [PATCH] Removing duplicate CollectImages() images are being flashed twice, because of an additional collectImages. This is resulting in a ~50% increase in flashing time Test: fastboot flashall -w Change-Id: I6c271e1e1456cd789f37ebd67cefd221cabc6e7a --- fastboot/fastboot.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 799406581..fb0e18b6f 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -1780,7 +1780,6 @@ void FlashAllTool::Flash() { } DetermineSlot(); - CollectImages(); CancelSnapshotIfNeeded();