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
Loading
Please register or sign in to comment