Merge "Move to using boot image profile" am: a5e21a0481
am: aa34eb5265
Change-Id: Ided6a262f04dce1836c1ffb6889f1587e0602009
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");