commit | 80f5b0400f86d49e70aa1a793b34f34492f005bc | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Mar 25 09:58:09 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Mar 25 16:58:39 2013 -0700 |
tree | 8c7a488658c600ea914b3b5da8f1227d206b28f8 | |
parent | 58d6b9eb20a9805ea7cecff1df01259e8a2ce1d4 [diff] |
audio policy: fix music glitch when starting call When answering a call in silent mode, music playing over A2DP was not immediately muted by current audio policy manager logic. The fix consists in muting media strategy on all output streams immediately when entering in call. Also add methods to AudioOutputDescriptor to report recent global, per strategy and per stream activity. Bug 8315512 Change-Id: I4a90eb05db50e4f22374d02b1e647e8662f6bec6