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

Commit 915ac62c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Catch IllegalStateException in Telecom when the Bluetooth process is...

Merge "Catch IllegalStateException in Telecom when the Bluetooth process is down" into main am: 94e3a82a am: 6edece55 am: 727341e6 am: 845b15db

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telecomm/+/2668436



Change-Id: I9500adf1d1fa90214d3fe54932a5259aa2344702
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bc9a555a 845b15db
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." +