diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-08-20 17:23:30 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-08-21 10:34:20 -0700 |
commit | 0c3804950236fe170ebf6cc7a5f1e3e305b8f315 (patch) | |
tree | 832ea4ab2c17fe568df894aa3ed7438a01d97533 /cmds/installd/commands.c | |
parent | a5d5d608ccd885d8328879dde782a8cc93b7cf4f (diff) | |
download | frameworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.zip frameworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.tar.gz frameworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.tar.bz2 |
Improve multi-user app management.
Introduce API to get per-user storage information, keep track
of services associated with users, and various small cleanup.
Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
Diffstat (limited to 'cmds/installd/commands.c')
-rw-r--r-- | cmds/installd/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index 0a7cb2d..c16e6fb 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -432,7 +432,7 @@ int protect(char *pkgname, gid_t gid) return 0; } -int get_size(const char *pkgname, const char *apkpath, +int get_size(const char *pkgname, int persona, const char *apkpath, const char *fwdlock_apkpath, const char *asecpath, int64_t *_codesize, int64_t *_datasize, int64_t *_cachesize, int64_t* _asecsize) @@ -479,7 +479,7 @@ int get_size(const char *pkgname, const char *apkpath, } } - if (create_pkg_path(path, pkgname, PKG_DIR_POSTFIX, 0)) { + if (create_pkg_path(path, pkgname, PKG_DIR_POSTFIX, persona)) { goto done; } |