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

Skip to content
Commit 69b47ca7 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Set device volume when AudioManager says device is connected

Instead of setting the remembered volume before the active device switch
happens, set it once we get a callback from the AudioManager that the
device has changed. This prevents the posibility of the new volume being
used with the old active device.

Bug: 79529581
Test: Switch devices multiple times and see that the volume changes when
the new device is connected.

Change-Id: I6a9e10654c844a5e2727d5409e27dd9e8176dd18
parent 06a28b9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment