Merge changes from topic "lshal_fqname"

* changes:
  Add HalManifest::insertInstance
  Remove unused ManfiestHal::insertLegacyInstance
  Add ManifestHal::insertInstance
  Add more types to MapValueIterator.
  Add TransportArch constructors.
diff --git a/AssembleVintf.cpp b/AssembleVintf.cpp
index 575e598..1153f47 100644
--- a/AssembleVintf.cpp
+++ b/AssembleVintf.cpp
@@ -331,6 +331,7 @@
                 }
             }
 
+            // TODO(b/78943004): add everything
             if (!halManifest->addAllHals(&halToAdd, &error)) {
                 std::cerr << "File \"" << path << "\" cannot be added: conflict on HAL \"" << error
                           << "\" with an existing HAL. See <hal> with the same name "
@@ -341,9 +342,8 @@
         }
 
         if (halManifest->mType == SchemaType::DEVICE) {
-            if (!getFlag("BOARD_SEPOLICY_VERS", &halManifest->device.mSepolicyVersion)) {
-                return false;
-            }
+            (void)getFlagIfUnset("BOARD_SEPOLICY_VERS", &halManifest->device.mSepolicyVersion);
+
             if (!setDeviceFcmVersion(halManifest)) {
                 return false;
             }