Merge "Move to using boot image profile"
am: a5e21a0481

Change-Id: Iae7a48edbab01e6fe504049c6ed139eb58cd1bb9
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");