Commit dba5a709 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Use PwriteFully and write image header last

Prevent corrupted images if dex2oat gets killed or if the image
writer is interrupted during writing.

Bug: 22858531
Bug: 27561308

Change-Id: Ia882d23d672f93c90733fc59a1f6508b0985a011
parent 05752398
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment