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

Commit 0541a6a5 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Iterate through the sorted file map when finding transfers"

am: a7229a08

Change-Id: I736816c3f139635b11e8c7c6d02f06c96a455454
parents dfc01117 a7229a08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1467,7 +1467,7 @@ class BlockImageDiff(object):
    max_blocks_per_transfer = int(cache_size * split_threshold /
                                  self.tgt.blocksize)
    empty = RangeSet()
    for tgt_fn, tgt_ranges in self.tgt.file_map.items():
    for tgt_fn, tgt_ranges in sorted(self.tgt.file_map.items()):
      if tgt_fn == "__ZERO":
        # the special "__ZERO" domain is all the blocks not contained
        # in any file and that are filled with zeros.  We have a