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

Commit 29e329cc authored by Michał Narajowski's avatar Michał Narajowski Committed by Gerrit Code Review
Browse files

Merge "Fix media playing on LeAudio->A2DP switch"

parents c128d7f7 d87ae736
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);