Attempt to mount block device even if postinstall is disabled
Bug: 198787355
Test: th
Change-Id: I42b0425fad5ead8629d0a824f6355ea051f670b8
diff --git a/payload_consumer/postinstall_runner_action.h b/payload_consumer/postinstall_runner_action.h
index 178d72a..41be201 100644
--- a/payload_consumer/postinstall_runner_action.h
+++ b/payload_consumer/postinstall_runner_action.h
@@ -72,6 +72,8 @@
void SetMountDir(std::string dir) { fs_mount_dir_ = std::move(dir); }
void PerformPartitionPostinstall();
+ [[nodiscard]] bool MountPartition(
+ const InstallPlan::Partition& partition) noexcept;
// Called whenever the |progress_fd_| has data available to read.
void OnProgressFdReady();