commit | 23f25cda0c73f8eb878844dea32fb0bd419edca2 | [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 | c1945d31c382864db8da0b829ccb017d2c31bbd6 | |
parent | bb04b631b60e0286c02e0fd4dd7ab764a001e0ce [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.