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
This commit is contained in:
Daniel Zheng 2023-06-13 14:53:32 -07:00
parent aa45319453
commit 3dc7fcc0b6

View file

@ -1780,7 +1780,6 @@ void FlashAllTool::Flash() {
}
DetermineSlot();
CollectImages();
CancelSnapshotIfNeeded();