aboutsummaryrefslogtreecommitdiff
path: root/libdex/OptInvocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdex/OptInvocation.cpp')
-rw-r--r--libdex/OptInvocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdex/OptInvocation.cpp b/libdex/OptInvocation.cpp
index 5014f4795..7524abbd6 100644
--- a/libdex/OptInvocation.cpp
+++ b/libdex/OptInvocation.cpp
@@ -119,12 +119,14 @@ char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName)
dexRoot = dataRoot;
/* Cache anything stored on /system in cacheRoot, everything else in dataRoot */
+#if 0
if (!strncmp(absoluteFile, systemRoot, strlen(systemRoot))) {
property_get("dalvik.vm.dexopt-data-only", dexoptDataOnly, "");
if (strcmp(dexoptDataOnly, "1") != 0) {
dexRoot = cacheRoot;
}
}
+#endif
snprintf(nameBuf, kBufLen, "%s/%s", dexRoot, kCacheDirectoryName);