HalManifest::checkIncompatibleHals uses instances API.
Now that <hal> is not the smallest unit of a manifest,
the compatibility check logic is updated accordingly.
Test: libvintf_test
Test: vintf_object_test
Bug: 73556059
Change-Id: Ief73afc61bace0dcc3d02410c16c7e261fa63315
Merged-In: Ief73afc61bace0dcc3d02410c16c7e261fa63315
diff --git a/test/LibVintfTest.cpp b/test/LibVintfTest.cpp
index 0177467..9a243f4 100644
--- a/test/LibVintfTest.cpp
+++ b/test/LibVintfTest.cpp
@@ -1042,7 +1042,7 @@
HalManifest manifest;
EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml));
EXPECT_FALSE(manifest.checkCompatibility(matrix, &error))
- << "should not be compatible because IFoo/default is missing";
+ << "should not be compatible because IFoo/specific is missing";
}
{