Merge "Update audio VTS source code to match the change in AudioPolicyConfig" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-10 19:07:24 +00:00
committed by Android (Google) Code Review

View File

@@ -40,7 +40,7 @@ struct ConfigHelper {
return devs.getDevice(AUDIO_DEVICE_IN_BUILTIN_MIC, {}, AUDIO_FORMAT_DEFAULT);
};
auto primaryMic = getMic(policyConfig.getPrimaryModule()->getDeclaredDevices());
auto availableMic = getMic(policyConfig.getAvailableInputDevices());
auto availableMic = getMic(policyConfig.getInputDevices());
return primaryMic != nullptr && primaryMic->equals(availableMic);
}