Android: don't call requestLayout() under setSystemUiVisibility()

That call already handles Ui visibility changes so no need
to do the call to requestLayout() manually.

Task-number: QTBUG-132720
Change-Id: I2f0828afa2036dfc72eccd76fe1cbbdbe30322cd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Assam Boudjelthia 2024-12-12 03:27:07 +02:00
parent 2c40e9b91c
commit 7344d21c73

View File

@ -94,7 +94,6 @@ class QtActivityDelegate extends QtActivityDelegateBase
QtNative.runAction(() -> {
if (m_layout != null) {
m_displayManager.setSystemUiVisibility(isFullScreen, expandedToCutout);
m_layout.requestLayout();
QtWindow.updateWindows();
}
});