OSDN Git Service

installd: fix path to code_cache.
authorNarayan Kamath <narayan@google.com>
Wed, 17 Feb 2016 14:56:58 +0000 (14:56 +0000)
committerNarayan Kamath <narayan@google.com>
Wed, 17 Feb 2016 14:56:58 +0000 (14:56 +0000)
Now exists in user_de, not user.

bug: 27216576
Change-Id: I9d50d9584de7b349fc9dfc829b690c20dd02eccd

cmds/installd/commands.cpp

index e54407c..2c5bb1c 100644 (file)
@@ -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.