Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac698741 authored by Calin Juravle's avatar Calin Juravle Committed by Android Git Automerger
Browse files

am 7330016a: am 97477d20: Set compiler filter flag to true when vmSafeMode is present.

* commit '7330016a':
  Set compiler filter flag to true when vmSafeMode is present.
parents 4d09213c 7330016a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -769,6 +769,7 @@ static void run_dex2oat(int zip_fd, int oat_fd, const char* input_file_name,
        have_dex2oat_compiler_filter_flag = true;
    } else if (vm_safe_mode) {
        strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=interpret-only");
        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);
    }