Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43757

QBluetoothLocalDevice createBond / requestParing should work for API 15+

    XMLWordPrintable

Details

    • Android

    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()) {

      Attachments

        1. QTBUG-43757.patch
          2 kB
          george najarian
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            najay george najarian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes