Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3205876b authored by Tony Wickham's avatar Tony Wickham
Browse files

Apply insets to top-level providers, not just paramsForRotation

Bug: 329012507
Flag: none
Test: trigger assistant, ensure bottom insets are removed in
gesture nav mode; also verify IME inset override correctly
applies in 3 button mode

Change-Id: I823d0d360a7e3b41cc291f6949d9371e0dc32efb
parent fa696568
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -163,6 +163,10 @@ class TaskbarInsetsController(val context: TaskbarActivityContext) : LoggableTas
                setProviderInsets(provider, layoutParams.gravity, rotation)
            }
        }
        // Also set the parent providers (i.e. not in paramsForRotation).
        for (provider in windowLayoutParams.providedInsets) {
            setProviderInsets(provider, windowLayoutParams.gravity, context.display.rotation)
        }
        context.notifyUpdateLayoutParams()
    }