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