Android: inset normal windows under enforced edge-to-edge


Apply system-bar and cutout margins to the Activity root
for normal windows when edge-to-edge is enforced. Clear
these margins for expanded and fullscreen windows and
preserve app-managed margins when enforcement is absent.

Handle insets in QtRootLayout, preserving the application's
decor listener and read original root insets to exclude the
IME.

Pick-to: 6.12
Task-number: QTBUG-151381
Change-Id: I2a951b3a7fef361bb3c1c808aafb1890eab93e38
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
commit0758d5d719e48d76d89a5d3140343c1a03a5b61a
parent3b30461be57d207f6eb0c857248ddb4ac4ffb81e
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerAssam Boudjelthia <assam.boudjelthia@qt.io>
commit timeTue, 20 Oct 2026 10:41:23 +0000