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

Commit b370a9b8 authored by Yifan Hong's avatar Yifan Hong Committed by Android (Google) Code Review
Browse files

Merge "Use ManifestHal constructor." into pi-dev

parents 17ea0116 a834a5d9
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -395,11 +395,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;
            }
        }