• Eric Laurent's avatar
    Fix issue 2641884: Bluetooth volume is dependent on in call volume. · 831ad524
    Eric Laurent authored
    The problem is that the code in AudioPolicyManagerBase::checkAndSetVolume() that forces
    voice volume to max when setting bluetooth SCO volume is not called if the bluetooth stream
    volume did not actually change. So even if we re apply volumes when switching to bluetooth
    device, the voice volume is not changed in audio HAL and remains what it was when routed to earpiece.
    What makes things worse on Passion is that stream volumes are limited when connected to bluetooth
    and their actual value does not change as soon as they exceed the limit threshold.
    
    Change-Id: Ieb72a71e06e9b3079cc8bc76c78ce83e060a2ea2
    831ad524
AudioPolicyManagerBase.h 18 KB