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

Commit b3fdf4b1 authored by Thomas Girardier's avatar Thomas Girardier Committed by Gerrit Code Review
Browse files

Merge "[le audio] Null check when setting le audio active device" into main

parents 491e4cb7 157fb201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ public class ActiveDeviceManager implements AdapterService.BluetoothStateCallbac
                final LeAudioService leAudioService = mFactory.getLeAudioService();
                setA2dpActiveDevice(null, true);
                setHfpActiveDevice(null);
                if (Flags.admVerifyActiveFallbackDevice()) {
                if (Flags.admVerifyActiveFallbackDevice() && leAudioService != null) {
                    setLeAudioActiveDevice(
                            null, !leAudioService.getActiveDevices().contains(device));
                } else {