diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-09-25 10:57:07 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-09-26 06:21:28 +0000 |
commit | f8c0572ddcd0cf152cfcf9f1d5478e520a6a457e (patch) | |
tree | beba4ce3fcf1aeece7b8be0fca2bda9637bcaa04 /src/bluetooth/android/localdevicebroadcastreceiver_p.h | |
parent | 7b40de8fbbaed22ca6217b5acc8dad1db6ae0600 (diff) |
Properly handle pin code pairing on Android
Most likely this paring variant was forgotten when Android support
for QBluetoothLocalDevice was implemented. This variant is rather uncommon
and Android's default pairing handler are likely to automatically
handle such requests too.
Fixes: QTBUG-70295
Change-Id: I618242da415574245e5a213a6e34f190c685c8e9
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/android/localdevicebroadcastreceiver_p.h')
-rw-r--r-- | src/bluetooth/android/localdevicebroadcastreceiver_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/android/localdevicebroadcastreceiver_p.h b/src/bluetooth/android/localdevicebroadcastreceiver_p.h index c6ae424d..09e50fb1 100644 --- a/src/bluetooth/android/localdevicebroadcastreceiver_p.h +++ b/src/bluetooth/android/localdevicebroadcastreceiver_p.h @@ -72,6 +72,7 @@ signals: void pairingStateChanged(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing); void connectDeviceChanges(const QBluetoothAddress &address, bool isConnectEvent); void pairingDisplayConfirmation(const QBluetoothAddress &address, const QString& pin); + void pairingDisplayPinCode(const QBluetoothAddress &address, const QString& pin); private: int previousScanMode; QAndroidJniObject pairingDevice; |