am e18987ef: Disable verification based on vold.decrypt. [frameworks/native]

* commit 'e18987efb5e39ca1bed15527b7b82bde55c99669':
  Disable verification based on vold.decrypt. [frameworks/native]
This commit is contained in:
Brian Carlstrom 2014-08-15 17:20:38 +00:00 committed by Android Git Automerger
commit 46ab27e624

View File

@ -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); sprintf(dex2oat_Xmx_arg, "-Xmx%s", dex2oat_Xmx_flag);
} }
if (skip_compilation) { 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; have_dex2oat_compiler_filter_flag = true;
} else if (have_dex2oat_compiler_filter_flag) { } else if (have_dex2oat_compiler_filter_flag) {
sprintf(dex2oat_compiler_filter_arg, "--compiler-filter=%s", dex2oat_compiler_filter_flag); sprintf(dex2oat_compiler_filter_arg, "--compiler-filter=%s", dex2oat_compiler_filter_flag);