commit | 3203bc10f0bc6a1acce8afeee6d8df1f0f64f72c | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sat Sep 05 20:35:32 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Oct 16 14:46:46 2015 -0700 |
tree | 4d65ce7acd1958008ccb9e33361e311b1be7f5f6 | |
parent | b16edb5f3ef9032b7e19c29aac2496c34bb8ac76 [diff] |
DO NOT MERGE 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: 24981812 Change-Id: Id0608384fcff0375aec8c158e6f909569b873d31 (cherry picked from commit 7589e961a7b8b7d964704db87f83ed8811e97ac6)