From f7765c4a175bda9f631e4c828539f4a169c7bca4 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Fri, 15 Aug 2014 09:55:50 -0700 Subject: [PATCH] Disable verification based on vold.decrypt. [frameworks/native] Bug: 15165413 (cherry picked from commit e18987efb5e39ca1bed15527b7b82bde55c99669) Change-Id: Ie55ef400c9d1f231b3be64248c756ac798a11ffe --- cmds/installd/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index f70ce1cf7..a441370e3 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -744,7 +744,7 @@ static void run_dex2oat(int zip_fd, int oat_fd, const char* input_file_name, sprintf(dex2oat_Xmx_arg, "-Xmx%s", dex2oat_Xmx_flag); } if (skip_compilation) { - strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=interpret-only"); + strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=verify-none"); have_dex2oat_compiler_filter_flag = true; } else if (have_dex2oat_compiler_filter_flag) { sprintf(dex2oat_compiler_filter_arg, "--compiler-filter=%s", dex2oat_compiler_filter_flag);