diff options
author | Eric Laurent <elaurent@google.com> | 2014-12-04 18:58:14 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-12-05 16:25:23 -0800 |
commit | 0add0fd07401c507a77b37868f46a2ae587c30df (patch) | |
tree | 9059f3b9d504aed17bc52ea3efb398129d16ecba /camera/CameraBase.cpp | |
parent | d6e7f1e1f8b1dfa6a87c7c0b1a5c68d435096b01 (diff) | |
download | frameworks_av-0add0fd07401c507a77b37868f46a2ae587c30df.zip frameworks_av-0add0fd07401c507a77b37868f46a2ae587c30df.tar.gz frameworks_av-0add0fd07401c507a77b37868f46a2ae587c30df.tar.bz2 |
audio policy: fix inifinite loop in clearAudioPatches()
releaseAudioPatch() does not necessarily remove the audio patch
from the list.
Scan the list from the top down to avoid adjusting the index.
Bug: 18621514.
Change-Id: I58787154680f7cb1818509017835b1693d62190f
Diffstat (limited to 'camera/CameraBase.cpp')
0 files changed, 0 insertions, 0 deletions