OSDN Git Service

DO NOT MERGE - audio policy: fix DeviceVector::getDevicesFromType()
authorEric Laurent <elaurent@google.com>
Tue, 31 Mar 2015 01:59:03 +0000 (18:59 -0700)
committerEric Laurent <elaurent@google.com>
Tue, 31 Mar 2015 15:47:09 +0000 (15:47 +0000)
commit424314382b6e2064df1c7c445038a11104be84c7
tree095ad0c7a005c20887665ee5ec243e692bac6834
parentc42c4b526422fada02f3522a08143f738e9e60af
DO NOT MERGE - audio policy: fix DeviceVector::getDevicesFromType()

Fix device type comparison in DeviceVector::getDevicesFromType():
AUDIO_DEVICE_BIT_IN bit must be excluded from type comparison
and used as an orthogonal match criterium.

Manual cherry-pick from master 4c91f90

Bug: 19957479

Change-Id: Ica9f440384bcb85e669864bd29504a4fda862ce7
services/audiopolicy/AudioPolicyManager.cpp