summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2016-02-17 14:56:58 +0000
committer Narayan Kamath <narayan@google.com> 2016-02-17 14:56:58 +0000
commit2f6d9e2fec8ab76ce35d5d6dee0a7838fc10b66c (patch)
treebb2e7c0a14cfd982af02de3f2cdcdda96da5897f
parent7514282174a08133f79363ade70c7bc8dc94623f (diff)
installd: fix path to code_cache.
Now exists in user_de, not user. bug: 27216576 Change-Id: I9d50d9584de7b349fc9dfc829b690c20dd02eccd
-rw-r--r--cmds/installd/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp
index e54407cf91..2c5bb1c353 100644
--- a/cmds/installd/commands.cpp
+++ b/cmds/installd/commands.cpp
@@ -941,7 +941,7 @@ static void close_all_fds(const std::vector<int>& fds, const char* description)
static int open_code_cache_for_user(userid_t user, const char* volume_uuid, const char* pkgname) {
std::string code_cache_path =
- create_data_user_package_path(volume_uuid, user, pkgname) + CODE_CACHE_DIR_POSTFIX;
+ create_data_user_de_package_path(volume_uuid, user, pkgname) + CODE_CACHE_DIR_POSTFIX;
struct stat buffer;
// Check that the code cache exists. If not, return and don't log an error.