diff options
| author | Tinja Paavoseppä <[email protected]> | 2024-02-22 15:08:06 +0200 |
|---|---|---|
| committer | Tinja Paavoseppä <[email protected]> | 2024-03-13 15:50:14 +0000 |
| commit | d899cdb3a4dc9eb1ad489f7541244110e7e80f61 (patch) | |
| tree | 0446ed125a4ba01dc70d344acdd1a1c843ea0cb0 /src/plugins/platforms/android/androidwindowembedding.cpp | |
| parent | 39c4c868a4c1acb5cceb00418b2bb0ca3836d0a3 (diff) | |
Android: Synchronize window creation in QtEmbeddedDelegate
Qt window loading is initiated either when the QtView is attached
to its Android window, or when the Android QPA plugin has been loaded
and is ready, depending on the order. Since the window attachment
happens in the Android UI thread, and the Android QPA plugin callback
happens in Qt thread, add synchronized block to make sure the execution
stays ordered.
Fixes: QTBUG-122626
Pick-to: 6.7
Change-Id: Id476032f02aa8990432a02f62b6bf6237a17e7ac
Reviewed-by: Assam Boudjelthia <[email protected]>
Diffstat (limited to 'src/plugins/platforms/android/androidwindowembedding.cpp')
0 files changed, 0 insertions, 0 deletions
