Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
Description
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()) {