Fix matching the results

Trivial fix of using wrong variable name.

Bug: 352454998
Test: atest VtsHalBluetoothAudioTargetTest
Flag: Exempt; trivial fix covered with unit tests
Change-Id: I666c684dbd9f2b58a3d1cbe7449e21af57e55df4
This commit is contained in:
Jakub Tyszkowski
2024-08-02 12:41:02 +00:00
parent d69acec03e
commit f5015ce683

View File

@@ -818,7 +818,7 @@ ndk::ScopedAStatus LeAudioOffloadAudioProvider::getLeAudioAseConfiguration(
auto matched_setting = matchWithRequirement(
matched_ase_configuration_settings, requirement, false);
if (matched_setting.has_value()) {
result.push_back(matched_setting_with_context.value());
result.push_back(matched_setting.value());
} else {
// Cannot find a match for this requirement
// Immediately return