audiopolicy: Fix after commit 11d30104
The change ag/5874343 switched to DeviceVector usage instead of audio_devices_t. In AudioPolicyManager::setOutputDevices, one of the conditions comparing a device to AUDIO_DEVICE_NONE had been inverted. This was resulting in resetting of default patches during a call to 'setForceUse' function. Test: audiopolicy_tests Change-Id: Idc43bc152c3d749cd1dab9b696e7e1e700ef3926
Loading
Please register or sign in to comment