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

Commit 0f416142 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge changes from topic "AidlAudioHalModuleConfig" into main am: 43543bda...

Merge changes from topic "AidlAudioHalModuleConfig" into main am: 43543bda am: 5417f105 am: 45dfe4ef am: b9b5f833 am: 9a4c5a35

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2770886



Change-Id: I23026fdde5015f2083e36874afde091438f60876
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2e13df2c 9a4c5a35
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -184,9 +184,15 @@ void AudioPolicyConfigXmlConverter::init() {
            // 'primary' in the XML schema used by HIDL is equivalent to 'default' module.
            const std::string name =
                    xsdcModule.getName() != "primary" ? xsdcModule.getName() : "default";
            if (name != "r_submix") {
                mModuleConfigurations->emplace_back(
                        name, VALUE_OR_FATAL(convertModuleConfigToAidl(xsdcModule)));
            } else {
                // See the note on the 'getRSubmixConfiguration' function.
                mModuleConfigurations->emplace_back(name, nullptr);
            }
        }
    }
}

}  // namespace aidl::android::hardware::audio::core::internal