Method setBondState passes its parameter reason to mBondState.setBondState.
The bonding failure status was dropped by function setBondState. Fix the problem by passing funtion parameter reason to mBondState.setBondState. Bug 3162947 Change-Id: I515af34dd04000dfc6ab44453594082136869460
This commit is contained in:
@@ -1104,7 +1104,7 @@ public class BluetoothService extends IBluetooth.Stub {
|
||||
}
|
||||
|
||||
/*package*/ synchronized boolean setBondState(String address, int state, int reason) {
|
||||
mBondState.setBondState(address.toUpperCase(), state);
|
||||
mBondState.setBondState(address.toUpperCase(), state, reason);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user