commit | b8453f4e0e32d11926f4c5badf656cf1062fbe08 | [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 | 86f05f1037354854436cc120bcf7aa63da2c60c4 | |
parent | 445ab76c49779998543bb78881f5d9f8ae81e598 [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