From: Brian Carlstrom Date: Fri, 15 Aug 2014 16:55:50 +0000 (-0700) Subject: Disable verification based on vold.decrypt. [frameworks/native] X-Git-Tag: android-x86-6.0-r1~270^2~145 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e18987efb5e39ca1bed15527b7b82bde55c99669;p=android-x86%2Fframeworks-native.git Disable verification based on vold.decrypt. [frameworks/native] Bug: 15165413 Change-Id: Ie70bf4e1348b7b8b2454cf9b498b272416d61c34 --- diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index f05ce617ae..26edb5f630 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -755,7 +755,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);