diff options
| author | Rami Potinkara <rami.potinkara@qt.io> | 2023-09-01 07:57:58 +0300 |
|---|---|---|
| committer | Rami Potinkara <rami.potinkara@qt.io> | 2023-10-04 19:04:45 +0000 |
| commit | adb7e2525e0d4db622833b6d05d6339e511c2480 (patch) | |
| tree | cfce315e4797db0ddeba5aa7bd257eb12a7e8b54 /src/gui/doc/snippets/rhioffscreen/main.cpp | |
| parent | 7c2167d3b886c8f2eb1ea6161f12440dfa8cf401 (diff) | |
Android: fix display cut mode being short edges always
Fixed _SHORT_EDGES and _DEFAULT conflict.
Mapping from Qt API's to Android's is following:
-QWindow::FullScreen -> _DEFAULT
-Qt::MaximizeUsingFullscreenGeometryHint -> _TRANSLUCENT
-Others -> _NEVER
-Not supported -> _SHORT_EDGES (Use Java as workaround)
For example in QML:
-visibility: Window.FullScreen
-flags: Qt.MaximizeUsingFullscreenGeometryHint
Fixes: QTBUG-114437
Task-number: QTBUG-96877
Pick-to: 6.6 6.5 6.2
Change-Id: I730b3e3f76401b52548ece05dee60526d0be8207
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/rhioffscreen/main.cpp')
0 files changed, 0 insertions, 0 deletions
