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:
commit
1e97c119fc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue