Android: skip tst_android::orientationChange() for Android 9

Android 9 emulator seems quite buggy with sending the orientation
changes callbacks.

Task-number: QTBUG-124890
Change-Id: Ifb52d2eea4221d1759a04ca1d7e74e60620a3804
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
Assam Boudjelthia 2024-05-02 16:26:10 +03:00
parent 8a261fa9e0
commit 5344f784ed

View File

@ -353,6 +353,9 @@ void tst_Android::orientationChange()
QFETCH(Qt::ScreenOrientation, expected);
QFETCH(QSize, screenSize);
if (QNativeInterface::QAndroidApplication::sdkVersion() == __ANDROID_API_P__)
QSKIP("Android 9 orientation changes callbacks are buggy (QTBUG-124890).");
// For QTBUG-94459 to check that the widget size are consistent after orientation changes
QWidget widget;
widget.show();