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

Commit 94e3a82a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Catch IllegalStateException in Telecom when the Bluetooth process is down" into main

parents 1558ab55 1a5a5cb9
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -104,9 +104,13 @@ public class BluetoothDeviceManager {
                                logString = "Got BluetoothLeAudio: "
                                        + mBluetoothLeAudioService;
                                if (!mLeAudioCallbackRegistered) {
                                    try {
                                        mBluetoothLeAudioService.registerCallback(
                                                    mExecutor, mLeAudioCallbacks);
                                        mLeAudioCallbackRegistered = true;
                                    } catch (IllegalStateException e) {
                                        logString += ", but Bluetooth is down";
                                    }
                                }
                            } else {
                                logString = "Connected to non-requested bluetooth service." +