aboutsummaryrefslogtreecommitdiff
path: root/libdex/OptInvocation.cpp
diff options
context:
space:
mode:
authorFused <fused0@yahoo.de>2013-08-03 13:31:06 +0200
committerFused <fused0@yahoo.de>2013-08-03 13:31:06 +0200
commit2504595990329d34f90be397868c7e6855d0e3cf (patch)
treee0e79d41ed0538dde9a23f53652d8bf1f4a6fdd0 /libdex/OptInvocation.cpp
parent59e79c413311dc6796683dc34ce00e5842e7f3cc (diff)
Revert "Disable /cache/dalvik-cache (temporarily?)"
This reverts commit 59e79c413311dc6796683dc34ce00e5842e7f3cc. Change-Id: I81bc9a338b7bf2c40fa1850981359505e36ffa29
Diffstat (limited to 'libdex/OptInvocation.cpp')
-rw-r--r--libdex/OptInvocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdex/OptInvocation.cpp b/libdex/OptInvocation.cpp
index 7524abbd6..5014f4795 100644
--- a/libdex/OptInvocation.cpp
+++ b/libdex/OptInvocation.cpp
@@ -119,14 +119,12 @@ 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);