summaryrefslogtreecommitdiff
path: root/runtime/oat_file_assistant.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-04-21 17:16:44 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-04-27 16:04:13 +0100
commit4e868fa7b8c47600695ff92deeb373674956a67d (patch)
treeacdb92a2b765cc87a08459267e430a8866e608cf /runtime/oat_file_assistant.cc
parent4dc06e2ef900132d8395539842c35533da8b912a (diff)
Make vdex and dexlayout compatible.
Unquicken the vdex before dexlayout, to keep the dex integrity. bug: 37558732 Test: run-test with speed-profile Change-Id: Ifcd5c2e4378ccb0df0a66d07f68df31d94b83220
Diffstat (limited to 'runtime/oat_file_assistant.cc')
-rw-r--r--runtime/oat_file_assistant.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc
index 9471cbad6c..2c2b6fdcc2 100644
--- a/runtime/oat_file_assistant.cc
+++ b/runtime/oat_file_assistant.cc
@@ -808,6 +808,7 @@ OatFileAssistant::OatStatus OatFileAssistant::OatFileInfo::Status() {
std::unique_ptr<VdexFile> vdex = VdexFile::Open(vdex_filename,
/*writeable*/false,
/*low_4gb*/false,
+ /*unquicken*/false,
&error_msg);
if (vdex == nullptr) {
status_ = kOatCannotOpen;