Call the correct function for canceling a pairing request.

This commit is contained in:
Jaikumar Ganesh
2009-08-20 15:02:41 -07:00
parent 3b94f09756
commit 8c08bcd2ab

View File

@@ -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();
} }
} }