summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/platform
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2024-05-02 16:26:10 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2024-05-02 21:40:11 +0300
commit5344f784ed27ee98d4edfb2fce91e299c303d8d1 (patch)
treefdf8006b50a7397d809fde65e0ecf82434fb1ada /tests/auto/corelib/platform
parent8a261fa9e0f2b29022d118d3615ffc531ac60d2f (diff)
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>
Diffstat (limited to 'tests/auto/corelib/platform')
-rw-r--r--tests/auto/corelib/platform/android/tst_android.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/corelib/platform/android/tst_android.cpp b/tests/auto/corelib/platform/android/tst_android.cpp
index 07b939969c..76811a31ad 100644
--- a/tests/auto/corelib/platform/android/tst_android.cpp
+++ b/tests/auto/corelib/platform/android/tst_android.cpp
@@ -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();