commit | be677c346d1995b98c36bb41741541bf357207bb | [log] [tgz] |
---|---|---|
author | Vimal Puthanveed <vimalp@codeaurora.org> | Wed Dec 11 13:34:09 2013 -0800 |
committer | Vimal Puthanveed <vimalp@codeaurora.org> | Wed Dec 11 17:46:07 2013 -0800 |
tree | 57cfeb1aef28a39cb291d590521fcc92db6ae936 | |
parent | b6645a4c78146bda41cb0ee10f1e182b3235de99 [diff] |
hal: Device switch should happen only during anc enable/disable -Device switch used to happend even if the setparameter was not for AUDIO_PARAMETER_KEY_ANC since it was outside the if condition. Hence move the switch device inside the condition. Change-Id: I0f51356900709401bf2f1ea3c98b80861128aef3 CRs-Fixed: 575732