Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.1
-
None
-
-
2024wk52FOQtforAndroid
Description
After updating our app with Qt 6.8.1 and targeting SDK 34 (Android 14), we’re now seeing the following "recommended actions" in the Google Play console, which I believe stem from Qt’s Android API usage.
Edge-to-edge may not display for all users
From Android 15, all apps targeting SDK 35 will display edge-to-edge by default. Apps targeting SDK 35 should handle insets to make sure that their app displays correctly on Android 15 and later. We recommend investigating this issue and allowing time to test edge-to-edge on your app and make the required updates to your code. Alternatively, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java for backward compatibility.
Your app uses deprecated APIs or parameters for edge-to-edge
One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
- android.view.Window.getStatusBarColor
- LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT
- LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER
These start in the following places:
- org.qtproject.qt.android.QtActivityDelegateBase.handleUiModeChange
- org.qtproject.qt.android.QtDisplayManager.setSystemUiVisibility
To prepare for the change to Android 15, migrate away from these APIs or parameters.
Attachments
Issue Links
- relates to
-
QTBUG-119594 Android: Layout in display cut mode being overridden to default edges always
- Closed