commit | 1783480faec4ed9502349c4642ec9c3facad3adb | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Jan 21 19:46:46 2019 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Tue Jan 22 10:00:25 2019 +0000 |
tree | 837e853701ebb10a93ffccfade8e2b21cf5d3e09 | |
parent | 8c4d7170d3327c0dc2ffc4668382226b515f15c1 [diff] |
dexlayout: ProcessOffset in WriteHiddenapiClassData WriteHiddenapiClassData would not call ProcessOffset before starting to write data. This is only a problem if compute_offsets_ is false as it would continue writing where previous section left off and that place not being the end of the file. This fixes dexlayout_test gtest. Bug: 123150330 Test: m test-art-host-gtest-dexlayout_test Change-Id: I552122d0968584db4a53d7219986f9693210b1e1