Merge "Unlock mBluetoothLock.readLock() instead of double-locking it"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user