From 5344f784ed27ee98d4edfb2fce91e299c303d8d1 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 2 May 2024 16:26:10 +0300 Subject: [PATCH] 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 --- tests/auto/corelib/platform/android/tst_android.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/corelib/platform/android/tst_android.cpp b/tests/auto/corelib/platform/android/tst_android.cpp index 07b939969c0..76811a31ad4 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();