Unlock mBluetoothLock.readLock() instead of double-locking it
am: 7ee53be300
Change-Id: I521890b2554b47f278f1e3d169b3a3cde825240f
This commit is contained in:
@@ -222,7 +222,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
|||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Slog.e(TAG,"Unable to call onBrEdrDown", e);
|
Slog.e(TAG,"Unable to call onBrEdrDown", e);
|
||||||
} finally {
|
} finally {
|
||||||
mBluetoothLock.readLock().lock();
|
mBluetoothLock.readLock().unlock();
|
||||||
}
|
}
|
||||||
} else if (st == BluetoothAdapter.STATE_ON){
|
} else if (st == BluetoothAdapter.STATE_ON){
|
||||||
// disable without persisting the setting
|
// disable without persisting the setting
|
||||||
|
|||||||
Reference in New Issue
Block a user