Installd: Add move_ab command
Add a command to move A/B artifacts into the right position. This
is used for apps that live in data.
Bug: 25612095
Change-Id: I40c3ca54bd0f3b2d646a14b145e733096dabbbb2
diff --git a/cmds/installd/commands.h b/cmds/installd/commands.h
index fe03397..8507eff 100644
--- a/cmds/installd/commands.h
+++ b/cmds/installd/commands.h
@@ -58,6 +58,9 @@
int rm_package_dir(const char* apk_path);
int link_file(const char *relative_path, const char *from_base, const char *to_base);
+// Move a B version over to the A location. Only works for oat_dir != nullptr.
+int move_ab(const char *apk_path, const char *instruction_set, const char* oat_dir);
+
} // namespace installd
} // namespace android