Merge "Update audio VTS source code to match the change in AudioPolicyConfig" into rvc-dev am: ce3f17e662
Change-Id: I171a6397a126e25c6d496f9c903758f5b92c0290
This commit is contained in:
commit
f82f5ba5bd
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