Merge "Update audio VTS source code to match the change in AudioPolicyConfig" into rvc-dev am: ce3f17e662 am: f82f5ba5bd am: 604930993c am: 62c48c1380

Change-Id: I0d60e1aae654e3f6f5764f76e0a2016c26051f14
This commit is contained in:
Automerger Merge Worker 2020-03-10 21:58:58 +00:00
commit 1e97c119fc

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);
}