Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2f4a9e9 authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

installd: fix path to code_cache.

am: 2f6d9e2f

* commit '2f6d9e2f':
  installd: fix path to code_cache.
parents 65b9db30 2f6d9e2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.