commit | 28f6f9c3deb4d23fd627d15631d682a5cfa989fc | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sat Sep 05 20:35:32 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Sep 08 10:55:32 2015 -0700 |
tree | a3b969ed8f925a4d836c39faca7cf74733ffc957 | |
parent | a6e6afbce69da968299898944bb2165f5e799886 [diff] |
releasetools: Always write the last block if it's padded. In BBOTAs if the last block of a DataImage is padded, we should always write the whole block even for incremental OTAs. Because otherwise the last block may be skipped if unchanged, but would fail the post-install verification if it has non-zero contents in the padding bytes. Bug: 23828506 Change-Id: I6f6789eec568ed0b808b9e425f5ecdbea1bdf446 (cherry picked from commit 7589e961a7b8b7d964704db87f83ed8811e97ac6)