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

Skip to content
Commit 89b5b85f authored by Jaideep Sharma's avatar Jaideep Sharma Committed by Eric Laurent
Browse files

audiopolicy: fix voice volume mismatch after headset removal.

During voice call, when headset is removed, new device of primary
output is first set to handset, and voice volume is also
calculated in handset. Later other outputs loop to select new
device and calculate volume in new device, due to inactive output
selects AUDIO_DEVICE_NONE, it uses previous device and set wrong
voice volume.

Fix it by add check to avoid applying volume for inactive output.

Bug: 111196161
Test: manual audio smoke tests.

Change-Id: I4dcc9f6d3442ce5a0a8235c04b4156ad17d373db
parent 18a79124
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