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

Commit 533893e8 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 main

parents 7584e288 762b3b46
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -236,7 +236,8 @@ 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)
                provider.insetsSize = getInsetsForGravityWithCutout(contentHeight, gravity,
                    endRotation)
            } else {
                val gestureHeight =
                        ResourceUtils.getNavbarSize(