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

Commit dd315948 authored by Yifan Hong's avatar Yifan Hong Committed by Gerrit Code Review
Browse files

Merge "Update to allow multiple HALs in a manifest."

parents c1c9354a a46e2f84
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ void Lshal::dumpVintf() const {
                continue;
            }

            vintf::ManifestHal *hal = manifest.getHal(fqName.package());
            vintf::ManifestHal *hal = manifest.getAnyHal(fqName.package());
            if (hal == nullptr) {
                if (!manifest.add(vintf::ManifestHal{
                    .format = vintf::HalFormat::HIDL,
@@ -306,7 +306,7 @@ void Lshal::dumpVintf() const {
                    mErr << "Warning: cannot add hal '" << fqInstanceName << "'" << std::endl;
                    continue;
                }
                hal = manifest.getHal(fqName.package());
                hal = manifest.getAnyHal(fqName.package());
            }
            if (hal == nullptr) {
                mErr << "Warning: cannot get hal '" << fqInstanceName