diff options
author | Brian Carlstrom <bdc@google.com> | 2011-12-07 22:05:07 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2012-01-04 00:23:07 -0800 |
commit | 89521898b56f2ebc3fb68acfb6bc6dde9b6f5c38 (patch) | |
tree | 6811878efd4490f78ae099ec7e14c1a1ffe4d868 /src/dalvik_system_DexFile.cc | |
parent | c74a6971fb9a65dbee337d51e7981a37be208a00 (diff) | |
download | art-89521898b56f2ebc3fb68acfb6bc6dde9b6f5c38.zip art-89521898b56f2ebc3fb68acfb6bc6dde9b6f5c38.tar.gz art-89521898b56f2ebc3fb68acfb6bc6dde9b6f5c38.tar.bz2 |
Merge art-cache dex files into oat files
Change-Id: I5a327a4e0b678bd9dabb12de4e21ef05e3fefd0b
Diffstat (limited to 'src/dalvik_system_DexFile.cc')
-rw-r--r-- | src/dalvik_system_DexFile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dalvik_system_DexFile.cc b/src/dalvik_system_DexFile.cc index f668cc9..36d4744 100644 --- a/src/dalvik_system_DexFile.cc +++ b/src/dalvik_system_DexFile.cc @@ -112,7 +112,7 @@ static jint DexFile_openDexFile(JNIEnv* env, jclass, jstring javaSourceName, jst return NULL; } UniquePtr<File> file(OS::OpenFile(outputName.c_str(), true)); - bool success = zip_entry->Extract(*file); + bool success = zip_entry->ExtractToFile(*file); if (!success) { LOG(ERROR) << "Failed to extract classes.dex from " << sourceName.c_str(); return NULL; |