commit | 0add0fd07401c507a77b37868f46a2ae587c30df | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Dec 04 18:58:14 2014 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Dec 05 16:25:23 2014 -0800 |
tree | 9059f3b9d504aed17bc52ea3efb398129d16ecba | |
parent | d6e7f1e1f8b1dfa6a87c7c0b1a5c68d435096b01 [diff] |
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