diff options
author | Richard Uhler <ruhler@google.com> | 2017-01-18 08:39:23 +0000 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2017-01-23 13:17:44 +0000 |
commit | 402089a27b25a9d1112c49189eb83a567719188f (patch) | |
tree | 8034d49882e6facaeace386478369d0aa9d4e243 /compiler/optimizing/codegen_test.cc | |
parent | a8b4390a3b817a455b0abdf575922fea6182170d (diff) |
OatFileAssistant: look at vdex file for IsDexOptNeeded
Even if the oat file cannot be opened, there may be a vdex file that
contains valid dex code. The oat file assistant should take this into
account when determining the dexopt status.
Bug: 34339100
Test: oat_file_assistant_test, with new tests added.
Test: install an app, dumpsys package to show app status,
delete app's oat file, dumpsys package to show status as vdex only,
cmd package compile -r install app, verify in log that input vdex fd is
provided to dex2oat.
Change-Id: Iab43e617a899773b318d61adeb117ed2cec085da
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions