OSDN Git Service

Clear image file in image writer
authorMathieu Chartier <mathieuc@google.com>
Thu, 28 Jan 2016 20:02:00 +0000 (12:02 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 28 Jan 2016 20:02:00 +0000 (12:02 -0800)
commit784bb0915499d38c9bdca91bf6335fe0d503bc51
tree3ce350f0acde531589d4c7af77452a04d32ca4d9
parent1c7736c2823b1127e0e19fa4d71795b894632bc0
Clear image file in image writer

The goal is to not erase the image file in installd in case we abort
compilation due to no new profile data. Currently aborting results in
an empty image file.

Bug: 22858531
Change-Id: I32eee3391f860f4a373db3d746d096cc36d623f2
compiler/image_writer.cc