commit | c1c88e27a6f07a530fca184f515c16d51e46d56f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Aug 27 17:10:36 2010 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Aug 27 17:10:36 2010 -0700 |
tree | 0b447693ea5dd115a462a582155ffa086527509a | |
parent | 14cc6fcf8803ae7289a1e342532c26fe257b3d3f [diff] |
Fix issue 2952766. The problem is that the audio policy manager does not handle the input devices when forced use for telephony is changed. The problem does not appear in a call over PSTN becasue only teh output devices drives the routing of in call audio to/from the base band. The fix consists in modifying AudioPolicyManagerBase::setForceUse() to check for active inputs and update the input device if needed. Change-Id: I0d36d1f5eef1cce527929180c29b025439902f10