OSDN Git Service

Skip verifying the partition with no changed blocks.
authorTao Bao <tbao@google.com>
Thu, 14 Apr 2016 22:58:05 +0000 (15:58 -0700)
committerTao Bao <tbao@google.com>
Thu, 14 Apr 2016 23:12:06 +0000 (16:12 -0700)
commitf9efe284a4f8f1e40ea634c5e86f3d5e9935d8c8
tree9bce3200e5f0136a74256412ec025a50094cdb18
parent8fe9274ab99a0a5e8894a8984d47a9c5a9c0c17c
Skip verifying the partition with no changed blocks.

For incremental BBOTAs, commit [1] changed to verify only the touched
blocks to reduce the update time. This CL fixes the bug when there's no
changed block between the two builds.

[1]: commit d522bdc9edbf64d15a59c6924853b2e2c8c39e90

Bug: 27813356
Bug: 28195498
Change-Id: Ia752d3cf034c544517458ed15df509d4596e21fa
tools/releasetools/common.py