commit | aa79befb301bc3451a19021b3fc9e9e6a1f231e8 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Jan 15 14:33:51 2015 -0800 |
committer | Eric Laurent <elaurent@google.com> | Thu Jan 15 18:56:26 2015 -0800 |
tree | d55a9b5ccde8671e9126ced03a963a70891ae1e8 | |
parent | 5f3194c9efeadc200c89d9e2b00a19f1afeac55d [diff] |
fix audio patch leak. Always wait for status when executing a create audio patch command in audio policy service command thread. The returned patch handle must be passed back to audio policy manager so that the patch can be modified later. Failing to do so causes a leak of patch descriptors in audio flinger. Bug: 19032387. Change-Id: I5462d1437fac244d9c5e38f2c7b8e1a4c01d2b75