Remove PartitionMounter.
This dependency is only used in recovery, and it is adding extra complication
to VintfObject. Instead, RecoveryFilesystem should handle the mounting in
recovery.
Test: libvintf_test
Test: manual sideload
Bug: 118635062
Change-Id: Ife8b650e5bb06d8b37a7ee7b14f2fd78b1892876
diff --git a/check_vintf.cpp b/check_vintf.cpp
index 7e51e6c..48d0bb4 100644
--- a/check_vintf.cpp
+++ b/check_vintf.cpp
@@ -223,8 +223,7 @@
auto hostPropertyFetcher = std::make_unique<PresetPropertyFetcher>();
hostPropertyFetcher->setProperties(props);
VintfObject vintfObject(std::make_unique<HostFileSystem>(rootdir),
- nullptr /* partition mounter */, nullptr /* runtime info factory */,
- std::move(hostPropertyFetcher));
+ nullptr /* runtime info factory */, std::move(hostPropertyFetcher));
return vintfObject.checkCompatibility({} /* packageInfo */, error,
CheckFlags::DISABLE_RUNTIME_INFO);
}