commit | 7589e961a7b8b7d964704db87f83ed8811e97ac6 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sat Sep 05 20:35:32 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Sat Sep 05 20:54:55 2015 -0700 |
tree | 009b64b04ba7388b70688dcf017d6ec9327f1b74 | |
parent | 762746705c7414985dbd457481dd33d4c69adcbb [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: I4b0af7344d18261258cd48d18c029c089d6ff365