commit | bfeca7f41a1068d5324a60835087bff0e1098aee | [log] [tgz] |
---|---|---|
author | Dhanalakshmi Siddani <dsiddani@codeaurora.org> | Thu Oct 08 15:17:11 2015 +0530 |
committer | Dhanalakshmi Siddani <dsiddani@codeaurora.org> | Thu Oct 08 15:53:24 2015 +0530 |
tree | ed2e1f68986c0f028b2abb99446068aece14d545 | |
parent | cc70d4bd02cdf3bcf1b5bdbf858610407fc0e36b [diff] |
audiopolicy: Fix to close all opened inputs in closeAllInputs Sound recorder app freezes if device switch happens from usb-mic to handset-mic during recording During device switch, closeAllInputs is called and all opened inputs are closed. But loop is not executed to close all the opened inputs. Fix the issue by closing the opened inputs in decrement order. CRs-Fixed: 920308 Change-Id: Ib3ac78fb3d9d20aa42948d25d32d69a897ab5c5b