summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-04-29 10:37:02 -0400
committerctso <ctsoyars@gmail.com>2010-06-23 21:59:07 +0000
commit51db49a5082b9ee911579867499f0213f49593cd (patch)
tree889d87d42a6208d5ed01b8c449055c778b6e4b6c
parentd6c372759b6c48b993a0b85a2b86f55f7d5197d0 (diff)
downloadframeworks_base-51db49a5082b9ee911579867499f0213f49593cd.zip
frameworks_base-51db49a5082b9ee911579867499f0213f49593cd.tar.gz
frameworks_base-51db49a5082b9ee911579867499f0213f49593cd.tar.bz2
Fix property check.
-rw-r--r--cmds/installd/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index 4992872..f27eef8 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -421,7 +421,7 @@ int create_cache_path(char path[PKG_PATH_MAX], const char *src)
const char *cache_path = DALVIK_CACHE_PREFIX;
if (!strncmp(src, "/system", 7)) {
property_get("dalvik.vm.dexopt-data-only", dexopt_data_only, "");
- if (strcmp(dexopt_data_only, "1")) {
+ if (!strcmp(dexopt_data_only, "1")) {
cache_path = DALVIK_SYSTEM_CACHE_PREFIX;
}
}