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

Commit 272e4549 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "releasetools: Fix the bug in AssertSequenceGood." am: 236e664e am: cc9c8ce9

am: ae686493

* commit 'ae686493':
  releasetools: Fix the bug in AssertSequenceGood.
parents 0c588ac3 ae686493
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -771,7 +771,10 @@ class BlockImageDiff(object):
          x = x.subtract(sr)

      for s, e in x:
        for i in range(s, e):
        # Source image could be larger. Don't check the blocks that are in the
        # source image only. Since they are not in 'touched', and won't ever
        # be touched.
        for i in range(s, min(e, self.tgt.total_blocks)):
          assert touched[i] == 0

      # Check that the output blocks for this transfer haven't yet