Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a53df149 authored by Pavan Chikkala's avatar Pavan Chikkala Committed by Gerrit - the friendly Code Review server
Browse files

policy_hal: Fixed stream volume on Bluetooth Headset

When alarm tone is played during music playback on BT Headset,
music is stopped and resumed with wrong stream volume after
the alarm is stopped.
Sometimes startOutput for music comes before stopOutput of
alarm. AudioPolicy selects music volume according to combo
device in this case. When alarm is stopped later, music volume
is supposed to be restored according to headset but it is not
done. applyStreamVolumes is not called from setOutputDevice
because new device is same as previous device.
Fix is to call applyStreamVolumes explicitly from stopSource
whenever force is false

CRs-Fixed: 2058695

Change-Id: I12e0648512d7d2829285a7ca5ebec6152e90e4ee
parent bcd773fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment