summaryrefslogtreecommitdiff
path: root/cmds/installd/installd.cpp
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2016-01-19 19:51:48 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-01-19 19:51:48 +0000
commit9a034c2ada5bd513619b72729071a10528f158ad (patch)
tree0330339b0d5888237b9f4651e568812c4bab1e18 /cmds/installd/installd.cpp
parenteecb2d205366351af42fd0cd9e1a95de3980764e (diff)
parent60a794dc845b942907ca035ddc554eb8e0c7ebb6 (diff)
Merge "Add profile guided compilation hooks in installd"
Diffstat (limited to 'cmds/installd/installd.cpp')
-rw-r--r--cmds/installd/installd.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp
index d90b211583..09f2c26d58 100644
--- a/cmds/installd/installd.cpp
+++ b/cmds/installd/installd.cpp
@@ -213,9 +213,10 @@ static int do_destroy_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSE
static int do_dexopt(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED)
{
- /* apk_path, uid, pkgname, instruction_set, dexopt_needed, oat_dir, dexopt_flags */
+ /* apk_path, uid, pkgname, instruction_set, dexopt_needed, oat_dir, dexopt_flags, volume_uuid,
+ use_profiles */
return dexopt(arg[0], atoi(arg[1]), arg[2], arg[3], atoi(arg[4]),
- arg[5], atoi(arg[6]));
+ arg[5], atoi(arg[6]), parse_null(arg[7]), (atoi(arg[8]) == 0 ? false : true));
}
static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED)
@@ -322,7 +323,7 @@ struct cmdinfo cmds[] = {
{ "move_complete_app", 7, do_move_complete_app },
{ "get_app_size", 9, do_get_app_size },
- { "dexopt", 7, do_dexopt },
+ { "dexopt", 9, do_dexopt },
{ "markbootcomplete", 1, do_mark_boot_complete },
{ "rmdex", 2, do_rm_dex },
{ "freecache", 2, do_free_cache },