Commit 4591ae27 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

ART: Unlink target oat file before compiling

Dex2oat must create a new file (new inode) when writing to a target
given by name, as the existing file may be in use. So unlink any
existing file first.

Bug: 22047255

(cherry picked from commit 52f0aeb8)

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