Call the correct function for canceling a pairing request.
This commit is contained in:
@@ -233,7 +233,7 @@ public class BluetoothPairingDialog extends AlertActivity implements DialogInter
|
|||||||
if (mType == BluetoothDevice.PAIRING_VARIANT_CONFIRMATION) {
|
if (mType == BluetoothDevice.PAIRING_VARIANT_CONFIRMATION) {
|
||||||
mDevice.setPairingConfirmation(false);
|
mDevice.setPairingConfirmation(false);
|
||||||
} else {
|
} else {
|
||||||
mDevice.cancelBondProcess();
|
mDevice.cancelPairingUserInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user