diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-05-10 16:16:37 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-05-26 23:24:11 +0000 |
commit | 478ed8b71f289438ed664bf2676b270325c93bfc (patch) | |
tree | 0f698686f6c01b638f8f6b60da218289c06b30bb /src/plugins | |
parent | da30e402f38a434f856fa8670a8813c3cffe6440 (diff) |
Android: Add runOnMainAndroidThread() under QNativeInterface
This replaces QtAndroidPrivate::runOnAndroidThread{Sync} calls.
This also now allows passing std::function<> that can return values,
and not only an std::function<void()>.
This adds some tests for this calls as well.
Fixes: QTBUG-90501
Change-Id: I138d2aae64be17347f7ff712d8a86edb49ea8350
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions