commit | 2d4e170f3ee7ec77cbc267ca7cff78861382d112 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Jan 24 12:59:44 2019 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Jan 24 12:59:44 2019 -0800 |
tree | 21620a55b0d872b6671bdfa62080671ae50612d6 | |
parent | e75dca3feec77fac58f1fa5f7a9b1195b4898368 [diff] |
audiopolicy: Fix after commit 11d301045991dd66bf3f64ba510e069b7c09fedb 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