summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2021-07-09 11:20:16 +0200
committerAndreas Buhr <andreas.buhr@qt.io>2021-07-12 16:21:13 +0200
commit52fdaeec67e87250f41ecf64901f2401a9a49091 (patch)
treef1c6935ddd6360f623dda42598f7c044424e9182 /src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp
parent330439186653e3557643424cc13ab437cc01f7dd (diff)
Improve detection of enabled location service on SDK<28
Bluetooth seems to be non-functional when location services are disabled. This is not documented in Android's documentations, but several bug entries exist about this which are closed as "works as intended". See the linked bug entry for details. Our code thus tries to detect whether location services are enabled. This patch improves the detection of enabled location services. While the previous code did only check for GPS and Network location providers, the new code should detect any enabled location provider. Fixes: QTBUG-90760 Change-Id: I0c670296d0af62161dbc3fca40889996fa91f0ca Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 4fdcd2d8d2c2b47ec142b744ad291c1e134db7d4) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp')
0 files changed, 0 insertions, 0 deletions