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

Skip to content
Commit e8f2c0fa authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: fix call volume upon speaker to USB transition

Fix voice volume handling in checkAndSetVolume() to only update
voice volume when changing volume on the primary output.
By convention, call routing and volume is managed by the primary output
and as other outputs may use a different device than the device selected
for calls, a wrong voice volume can be computed and overwrite a correct
volume set previously.

Bug: 195907034
Test: repro steps in the bug
Change-Id: Iafecb4df159db84addc3d802cdd2775cc696e07e
parent f72b417e
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