mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1229697 - Cancel bond when user inputs empty pincode for pairing, r=shuang
This commit is contained in:
parent
6da171450a
commit
5e2ce42994
@ -1288,7 +1288,7 @@ BluetoothServiceBluedroid::PinReplyInternal(
|
||||
|
||||
ENSURE_BLUETOOTH_IS_ENABLED_VOID(aRunnable);
|
||||
|
||||
if (aAccept) {
|
||||
if (aAccept && aPinCode.mLength) {
|
||||
sBtCoreInterface->PinReply(aDeviceAddress, aAccept, aPinCode,
|
||||
new PinReplyResultHandler(aRunnable));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user