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

Commit d0e2839c authored by Sungsoo Lim's avatar Sungsoo Lim Committed by Gerrit Code Review
Browse files

Merge "Activate A2DP and HFP together if available"

parents 9e7b5359 12eb86d7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -314,6 +314,9 @@ class ActiveDeviceManager {
                        setHearingAidActiveDevice(null);
                        setLeAudioActiveDevice(null);
                    }
                    if (mHfpConnectedDevices.contains(device)) {
                        setHfpActiveDevice(device);
                    }
                    // Just assign locally the new value
                    mA2dpActiveDevice = device;
                }
@@ -398,6 +401,9 @@ class ActiveDeviceManager {
                        setHearingAidActiveDevice(null);
                        setLeAudioActiveDevice(null);
                    }
                    if (mA2dpConnectedDevices.contains(device)) {
                        setA2dpActiveDevice(device);
                    }
                    // Just assign locally the new value
                    mHfpActiveDevice = device;
                }