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

Commit 2f6d9e2f authored by Narayan Kamath's avatar Narayan Kamath
Browse files

installd: fix path to code_cache.

Now exists in user_de, not user.

bug: 27216576
Change-Id: I9d50d9584de7b349fc9dfc829b690c20dd02eccd
parent 75142821
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.