OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de2bde
)
Set compiler filter flag to true when vmSafeMode is present.
author
Calin Juravle
<calin@google.com>
Wed, 27 Aug 2014 15:10:03 +0000
(16:10 +0100)
committer
Calin Juravle
<calin@google.com>
Wed, 27 Aug 2014 15:10:03 +0000
(16:10 +0100)
Bug:
12457423
Change-Id: I33345c5cce76681d8a6592ebae8c9f96a9f0f8bd
cmds/installd/commands.c
patch
|
blob
|
history
diff --git
a/cmds/installd/commands.c
b/cmds/installd/commands.c
index
1fda15a
..
b9eca7a
100644
(file)
--- a/
cmds/installd/commands.c
+++ b/
cmds/installd/commands.c
@@
-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);
}