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

Commit a9c1fe98 authored by Michał Narajowski's avatar Michał Narajowski Committed by Automerger Merge Worker
Browse files

Merge "Fix media playing on LeAudio->A2DP switch" am: 29e329cc am: e2cc5964

parents c5834a3a e2cc5964
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1010,7 +1010,10 @@ class ActiveDeviceManager {
                    if (DBG) {
                        Log.d(TAG, "set LE audio device active: " + device);
                    }
                    setLeAudioActiveDevice(device);
                    if (!setLeAudioActiveDevice(device)) {
                        return false;
                    }

                    if (!Utils.isDualModeAudioEnabled()) {
                        setA2dpActiveDevice(null, true);
                        setHfpActiveDevice(null);