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

Qt 6.6 Beta 1 and Qt Creator 11.0.0-beta2 - Test permissions - Bluetooth fails on Android 14

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.5, 6.6.3, 6.7.0 Beta2, 6.8.0 FF
    • 6.6.0 Beta1
    • QPA: Android
    • None
    • Android 14 emulator
    • Android
    • 30bacf78f (dev), 3ab305110 (6.7), 974e1a9d2 (6.6), 5e8c86953 (tqtc/lts-6.5)
    • 2023wk50FOQtforAndroid, 2023wk52FOQtforAndroid, 2024wk04FOQtforAndroid

    Description

      Steps

      Go through features
          Camera
          Microphone
          Bluetooth
          Contacts
          Calendar
          Location
      Select for some
          "Allow"
          for some "Only this time"
          and for some "Don't allow"

      Expected result

      Expect
          "Accessing [feature]" as success output to "Allow"
          "Accessing [feature]" as success output to "Only this time"
          "Permission is needed to use... Please grant... ..in the system Settings" as success output to "Don't allow"

      Actual result

        Camera Ok - While Using the app -> Accessing Camera 
        Microphone Ok - Only this time -> Accessing Microphone
        Bluetooth FAILED - Asked permissions to access this device's location -> Don't allow -> Denied. If retried and "Only this time" selected "Permissions is needed to use Bluetooth. Please grant.." with Android 11 it Asked permissions to access this device's location -> Only this time -> "Accessing Bluetooth"

      I QTestLib: QDEBUG : tst_QPermissions::requestPermission(Bluetooth) QBluetoothPermission(PermissionStatus::Denied)
      I QTestLib: PASS   : tst_QPermissions::requestPermission(Bluetooth) 

        Contacts Ok - Allow -> Accessing Contacts
        Calendar Ok - Allow -> Accessing Calendar
        Location Ok - While using the app -> Accessing location

       

      Qt 6.6 Beta 1, Qt Creator 11.0.0-beta2 (10.0.83), Ubuntu 22.04.2 LTS, Google Pixel 6A Android 14 Beta, NDK25.2.9519653, JDK 17.0.1

      Attachments

        1. android11.png
          android11.png
          27 kB
        2. android11-outcome.png
          android11-outcome.png
          24 kB
        3. android14.png
          android14.png
          64 kB
        4. android14-outcome.png
          android14-outcome.png
          32 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtandroidteam Qt Android Team
              rampe Rami Potinkara
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews