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

Commit 6f68fab2 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "BluetoothLeAudio: Remove not needed catch" am: 3fc68797 am:...

Merge "BluetoothLeAudio: Remove not needed catch" am: 3fc68797 am: 7d892234 am: 27ba44c8 am: 7b4fc7a6

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2032071

Change-Id: I17f2485813d4d83a9e360aac2b7646066fbda396
parents ff63117e 7b4fc7a6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -960,9 +960,8 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable {
                        service.registerCallback(mCallback, mAttributionSource, recv);
                        recv.awaitResultNoInterrupt(getSyncTimeout()).getValue(null);
                    }
                } catch (IllegalStateException | TimeoutException e) {
                } catch (TimeoutException e) {
                    Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable()));
                    throw new IllegalStateException("Unexpected error", e);
                } catch (RemoteException e) {
                    throw e.rethrowFromSystemServer();
                }