summaryrefslogtreecommitdiffstats
path: root/cmds/installd/commands.c
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-12-25 17:37:53 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-01-10 17:01:17 +0700
commit0e7f769089a7208b0d719c8e5f48fa22a338737c (patch)
tree957ba80d565b1aa7f22145e1d4692896419ce0a0 /cmds/installd/commands.c
parent6bbe7b78b9cd97d83dd4fb9726e3c6e4bc0207eb (diff)
downloadframeworks_base-0e7f769089a7208b0d719c8e5f48fa22a338737c.zip
frameworks_base-0e7f769089a7208b0d719c8e5f48fa22a338737c.tar.gz
frameworks_base-0e7f769089a7208b0d719c8e5f48fa22a338737c.tar.bz2
installd: Delete cache properly for devices using datadata partition
The java side already checks /data/data for free space but installd still checks /data causing it to never reap the cache (because it thinks that enough free space is available.) Change-Id: I736af6ff7ea0c8ae07900168f6b8ac2f7a4dbe0b
Diffstat (limited to 'cmds/installd/commands.c')
-rw-r--r--cmds/installd/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index a44d626..d19db32 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -24,6 +24,7 @@
/* Directory records that are used in execution of commands. */
dir_rec_t android_data_dir;
+dir_rec_t android_datadata_dir;
dir_rec_t android_asec_dir;
dir_rec_t android_app_dir;
dir_rec_t android_app_private_dir;