diff options
author | Eric Laurent <elaurent@google.com> | 2014-11-13 15:13:44 -0800 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2014-11-17 00:19:32 +0000 |
commit | ddbc6657fa0c55166148ca597980edbaafc418bf (patch) | |
tree | 4d8439693a03c04b9d4ab8fc5cf3ef5785a3d4ef /media/libmedia/IOMX.cpp | |
parent | e0b7ddcda9b4fb493cc365c92293ed7d12c3208a (diff) | |
download | frameworks_av-ddbc6657fa0c55166148ca597980edbaafc418bf.zip frameworks_av-ddbc6657fa0c55166148ca597980edbaafc418bf.tar.gz frameworks_av-ddbc6657fa0c55166148ca597980edbaafc418bf.tar.bz2 |
audiopolicy: Update input device check in checkInputsForDevice
- When an input device is disconnected, checkInputsForDevice clears
dynamic fields of input profiles that are supporting the disconnected
device. AUDIO_DEVICE_BIT_IN mask is missing while comparing with the
supported input devices of a profile which is resulting in clearing
wrong fields
- Fix is to include AUDIO_DEVICE_BIT_IN in this comparison
- also fix two other places where comparison with input device was not
masked with AUDIO_DEVICE_BIT_IN.
Bug: 18367045
Change-Id: Icc94b8353bc49567d8a6d6a75293c3b0dd42d83c
Diffstat (limited to 'media/libmedia/IOMX.cpp')
0 files changed, 0 insertions, 0 deletions