Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff3fc212 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Use ManifestHal constructor."

am: 5e22392c

Change-Id: Ib9d909f36575ded0c3eb9a914135e9d0f42951f1
parents 552dd932 5e22392c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -394,11 +394,11 @@ void ListCommand::dumpVintf(const NullableOStream<std::ostream>& out) const {
                interfaces[interfaceName].instances.insert(instanceName);
            }
            if (!manifest.add(vintf::ManifestHal{
                    .format = vintf::HalFormat::HIDL,
                    .name = fqName.package(),
                    .versions = {version},
                    .transportArch = {transport, arch},
                    .interfaces = interfaces})) {
                    vintf::HalFormat::HIDL,
                    std::string{fqName.package()},
                    {version},
                    {transport, arch},
                    std::move(interfaces)})) {
                err() << "Warning: cannot add hal '" << fqInstanceName << "'" << std::endl;
            }
        }