commit | b72a396826da8bd934b9531bbd40f86d7509e71c | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Jan 25 08:49:09 2010 -0800 |
committer | Eric Laurent <elaurent@google.com> | Mon Jan 25 14:00:10 2010 -0800 |
tree | 7eab39ce31d2609e7c0281e1f0541a8425d6e5e2 | |
parent | 6c009eb5ff5f999b1d9bc6978d3213f9f797903f [diff] |
Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active. Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream type is playing. Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.