Unlock mBluetoothLock.readLock() instead of double-locking it am: 7ee53be300

am: 7fbbbd5ea1

Change-Id: I9a990ae3c2930f895218e584effc8b081cbbd6a5
This commit is contained in:
Pavlin Radoslavov
2016-06-09 20:19:12 +00:00
committed by android-build-merger

View File

@@ -222,7 +222,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
} catch (RemoteException e) {
Slog.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