Audio policy: fix areAllDevicesSupported()
Fix areAllDevicesSupported() where HwModules.getDeviceDescriptor() must be called with matchAddress == true: if the caller does not want to distinguish on address it can leave the address field empty in the AudioDeviceTypeAddr passed which has the same effect as using matchAddress == false. Also fix places where device_distinguishes_on_address() was improperly used in place of audio_is_remote_submix_device(). Bug: 155224229 Test: build and launch car emulator Test: AudioHostTest Test: AudioServiceHostTest Test: audiopolicy_tests Test: manual mirroring and car projection tests Change-Id: I74295de95bcd82e7fa439c396ae32749b9c70c05
Loading
Please register or sign in to comment