Merge "Always report mandatory insets for button nav" into main

This commit is contained in:
Winson Chung
2024-06-06 04:28:38 +00:00
committed by Android (Google) Code Review
@@ -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(