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

Commit 7d892234 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

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

Change-Id: I35f9fbf72f20c3e1d4887f4b2c6704b55c66dd3c
parents 8559df3b 3fc68797
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();
                }