am dbc2d87a
: Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"
* commit 'dbc2d87a74987db84f6cb3cf1eed9ae7ca450ce7': Installd: Fix delete_code_cache() clearing the wrong cache dir
This commit is contained in:
commit
59a33a012d
@ -299,7 +299,7 @@ int delete_cache(const char *uuid, const char *pkgname, userid_t userid)
|
|||||||
int delete_code_cache(const char *uuid, const char *pkgname, userid_t userid)
|
int delete_code_cache(const char *uuid, const char *pkgname, userid_t userid)
|
||||||
{
|
{
|
||||||
std::string _codecachedir(
|
std::string _codecachedir(
|
||||||
create_package_data_path(uuid, pkgname, userid) + CACHE_DIR_POSTFIX);
|
create_package_data_path(uuid, pkgname, userid) + CODE_CACHE_DIR_POSTFIX);
|
||||||
const char* codecachedir = _codecachedir.c_str();
|
const char* codecachedir = _codecachedir.c_str();
|
||||||
|
|
||||||
struct stat s;
|
struct stat s;
|
||||||
|
Loading…
Reference in New Issue
Block a user