Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2d4e170f authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

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
parent e75dca3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment