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

Commit 6de4b528 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Always report mandatory insets for button nav" into 24D1-dev

parents c5d3fcb6 4304a142
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ class TaskbarInsetsController(val context: TaskbarActivityContext) : LoggableTas
            provider.insetsSize = getInsetsForGravityWithCutout(contentHeight, gravity, endRotation)
        } else if (provider.type == mandatorySystemGestures()) {
            if (context.isThreeButtonNav) {
                provider.insetsSize = Insets.of(0, 0, 0, 0)
                // Leave null to inset by the window frame
            } else {
                val gestureHeight =
                        ResourceUtils.getNavbarSize(