commit | a85b8376740641f13dc078aea6be94d15a800803 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Thu Oct 18 17:00:32 2012 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Thu Oct 18 18:13:32 2012 -0700 |
tree | b6eba1210de1e98d66c0011c599997322f7714b8 | |
parent | 2e92fd62b8b1e3a14be4642d4e77a022d863a94e [diff] [blame] |
Update image oat checksum when patching Change-Id: I766d2745bc817a5cb3a36d62bc733bab43a31fe0
diff --git a/src/image.h b/src/image.h index 399b143..852367d 100644 --- a/src/image.h +++ b/src/image.h
@@ -71,6 +71,10 @@ return oat_checksum_; } + void SetOatChecksum(uint32_t oat_checksum) { + oat_checksum_ = oat_checksum; + } + byte* GetOatBegin() const { return reinterpret_cast<byte*>(oat_begin_); }