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

Commit c7a902b0 authored by William Escande's avatar William Escande
Browse files

Remove useless synchronized block

Bug: 274037299
Test: TH
Change-Id: I932be706aa0d3e6baa182b7b62382665c1442733
parent f25c480f
Loading
Loading
Loading
Loading
+14 −16
Original line number Diff line number Diff line
@@ -3097,7 +3097,6 @@ public final class BluetoothAdapter {

        mServiceLock.readLock().lock();
        try {
            synchronized (mManagerCallback) {
            if (mService != null) {
                final SynchronousResultReceiver<Long> recv = SynchronousResultReceiver.get();
                mService.getSupportedProfiles(mAttributionSource, recv);
@@ -3115,7 +3114,6 @@ public final class BluetoothAdapter {
                    supportedProfiles.add(BluetoothProfile.HEARING_AID);
                }
            }
            }
        } catch (RemoteException | TimeoutException e) {
            Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable()));
        } finally {