commit | 7a48603a5841abafdf36e480cf2de336e7d03433 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue May 09 13:23:34 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed May 10 09:48:51 2017 +0100 |
tree | aa1f1e56139be3a51c2b8929b8e80ac9c75b9a53 | |
parent | 49b0cdcc365cc76938fe7c7e34d3213fbbe8b319 [diff] |
Be defensive in dex2oat when updating the vdex in-place. Invalidate the vdex header before doing any writing, in case dex2oat gets killed in the middle. bug: 38113240 Test: test.py --speed-profile Test: test.py 629-vdex (cherry picked from commit 36930eca8cd6ed2bb78da0c1d013db6a92d80670) Change-Id: I95c1f0a7b56646a9fbd0e0264ef698a44d79c474