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

This commit is contained in:
Winson Chung
2024-05-29 22:56:05 +00:00
committed by Android (Google) Code Review

View File

@@ -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(