commit | 43c0b0a1f6b025ae84013cdaa663ee892ac8e4da | [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 | f09028a08d14f78b959934f1fed99c8ff3f0d900 | |
parent | 5e4b03124898d84a16f4ef46c01f25f61a1af238 [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.