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

Commit 9a4c5a35 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

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



Change-Id: Ib8b400e3e529fa3d03c570f1f83c19038a53221e
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 43fc2a8e b9b5f833
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