This patch fixed QtDisplayManager::getDisplaySize function to use API's that do not require MANAGE_APP_TOKENS permission. The function previously failed on 32-bit architectures with Android 11 aka SDK 30 aka VERSION R due to createWindowContext requiring MANAGE_APP_TOKENS permission. The earlier try-catch lead to next error, because of invalid values. Amends: 98120622ff1f6f87664f4c42e830000a21391751 Fixes: QTBUG-137027 Pick-to: 6.10 6.9 6.8 6.5 Change-Id: Ia9c3a64ea41ad0575a34a96858851a1123cfc915 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%