summaryrefslogtreecommitdiffstats
path: root/src/native/dalvik_system_DexFile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/dalvik_system_DexFile.cc')
-rw-r--r--src/native/dalvik_system_DexFile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/dalvik_system_DexFile.cc b/src/native/dalvik_system_DexFile.cc
index 32056ca57..c49e01709 100644
--- a/src/native/dalvik_system_DexFile.cc
+++ b/src/native/dalvik_system_DexFile.cc
@@ -240,7 +240,7 @@ static jboolean DexFile_isDexOptNeeded(JNIEnv* env, jclass, jstring javaFilename
}
// Check if we have an oat file in the cache
- std::string cache_location(GetArtCacheFilenameOrDie(oat_filename));
+ std::string cache_location(GetDalvikCacheFilenameOrDie(oat_filename));
oat_file.reset(OatFile::Open(cache_location, oat_filename, NULL));
if (oat_file.get() == NULL) {
LOG(INFO) << "DexFile_isDexOptNeeded cache file " << cache_location