diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2022-06-23 15:34:22 +0300 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@insta.fi> | 2022-07-08 12:51:09 +0300 |
commit | 807c62ddee0749b68458654f7d37b28aceca6359 (patch) | |
tree | 6a2c53ba8871cc8215e0ef80116ecf91996d104b /src/bluetooth/android/devicediscoverybroadcastreceiver.cpp | |
parent | 34b2849bbf0a8cf8dd712ba235e0ff1c6ac133ec (diff) |
Fix bluetooth service discovery not finishing on Android
The service discovery finished signal is not emitted when
the SDP cache is empty when last device inquiry of services finishes.
This commit changes the logic so that the the inquiry is finished
independent of whether actual services were discovered on (any) of
the devices.
As a related drive-by:
- Document the role of sdpCache to ease understanding
- Change raw timeout limits into a variable
Fixes: QTBUG-104479
Change-Id: Ifc9e8587a66769a1fc7959a8154f2be72ffd7461
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 7c7d860ca52dc19e994a1166b6e2d0f5fa869455)
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/bluetooth/android/devicediscoverybroadcastreceiver.cpp')
0 files changed, 0 insertions, 0 deletions