summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kdab.com>2017-04-11 13:17:21 +0300
committerBogDan Vatra <bogdan@kdab.com>2017-06-07 13:01:40 +0000
commite8ea1edd89729d4caeffa70dd8cf76a686294987 (patch)
tree7d6b1d71d7112984cbbd256ca85a7063535d949c /src/widgets
parentd31deab6328d30ac31e87d6ac35ad81db37f5ae5 (diff)
Android: Fix deadlock when calling requestPermission
The hang happend when using QtAndroidPrivate::requestPermissions before the QApplication::exec. Android UI calls "sendRequestPermissionsResult" which was blocking until the event is delivered, but the qt main loop is blocked and waits for the main surface to be created by the Android UI thread which is already blocked. With this patch sendRequestPermissionsResult won't block for the result to be delivered. Change-Id: I48ada65fe9ea63471ab46d8a9d839ba1b91d17b3 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions