Fix display strings and enter passkey handling.

This commit is contained in:
Jaikumar Ganesh
2009-09-09 14:57:19 -07:00
parent 140fb90a5c
commit 67efa271bb
2 changed files with 3 additions and 3 deletions

View File

@@ -223,7 +223,7 @@ public class BluetoothPairingDialog extends AlertActivity implements DialogInter
}
mDevice.setPin(pinBytes);
} else if (mType == BluetoothDevice.PAIRING_VARIANT_PASSKEY) {
int passkey = Integer.getInteger(value);
int passkey = Integer.parseInt(value);
mDevice.setPasskey(passkey);
} else {
mDevice.setPairingConfirmation(true);