From 01ad455c149af55d34762c11ada603f61515d6bf Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Wed, 5 Jun 2013 23:52:48 +0100 Subject: dvm: Bring back the ANDROID_DATA override This got broken by the split-cache patch, and it's impacting the CTS vm unit. Fixit. Change-Id: I602824afef19c92a4d2c1702d10c8f0315277227 --- libdex/OptInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdex/OptInvocation.cpp b/libdex/OptInvocation.cpp index 7a25c2954..5014f4795 100644 --- a/libdex/OptInvocation.cpp +++ b/libdex/OptInvocation.cpp @@ -116,7 +116,7 @@ char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName) systemRoot = "/system"; if (dexRoot == NULL) - dexRoot = "/data"; + dexRoot = dataRoot; /* Cache anything stored on /system in cacheRoot, everything else in dataRoot */ if (!strncmp(absoluteFile, systemRoot, strlen(systemRoot))) { -- cgit v1.2.3