Merge "Move to using boot image profile" am: a5e21a0481 am: aa34eb5265
am: 8d8cb2402e
Change-Id: I989598cac13602a7448f2c061bb0fd4d4ab7f81c
diff --git a/cmds/installd/otapreopt.cpp b/cmds/installd/otapreopt.cpp
index a5e52ca..db36ce3 100644
--- a/cmds/installd/otapreopt.cpp
+++ b/cmds/installd/otapreopt.cpp
@@ -466,7 +466,7 @@
"--compiler-filter=",
false,
cmd);
- cmd.push_back("--image-classes=/system/etc/preloaded-classes");
+ cmd.push_back("--profile-file=/system/etc/boot-image.prof");
// TODO: Compiled-classes.
const std::string* extra_opts =
system_properties_.GetProperty("dalvik.vm.image-dex2oat-flags");