-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
The createBond call for Android is listed as a public call in API 19+, but is actually supported as a hidden public call in API 15+ (and maybe earlier). The code in qbluetoothlocaldevice_android.cpp in requestPairing
// BluetoothDevice::createBond() requires Android API 19
if (QtAndroidPrivate::androidSdkVersion() < 19 || !d_ptr->adapter()) {
should be
// BluetoothDevice::createBond() requires Android API 15
if (QtAndroidPrivate::androidSdkVersion() < 15 || !d_ptr->adapter()) {
For Gerrit Dashboard: QTBUG-43757 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
103898,1 | Android: Enable pairing for Android v15+ | 5.4.1 | qt/qtconnectivity | Status: ABANDONED | +2 | 0 |
104769,2 | Android: Enable pairing for Android v15+ | 5.4 | qt/qtconnectivity | Status: MERGED | +2 | 0 |