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

Commit 4467c845 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Unlock mBluetoothLock.readLock() instead of double-locking it"

parents 98cf9d1a b9154bc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                            } catch(RemoteException e) {
                                Log.e(TAG,"Unable to call onBrEdrDown", e);
                            } finally {
                                mBluetoothLock.readLock().lock();
                                mBluetoothLock.readLock().unlock();
                            }
                        } else if (st == BluetoothAdapter.STATE_ON){
                            // disable without persisting the setting