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

This commit is contained in:
Priyanka Advani authored and Android (Google) Code Review committed 2024-05-30 18:50:44 +00:00
commit 8ec05c628b
1 file changed
+1 -1
@@ -223,7 +223,7 @@ class TaskbarInsetsController(val context: TaskbarActivityContext) : LoggableTas
provider.insetsSize = getInsetsForGravityWithCutout(contentHeight, gravity, endRotation)
} else if (provider.type == mandatorySystemGestures()) {
if (context.isThreeButtonNav) {
// Leave null to inset by the window frame
provider.insetsSize = Insets.of(0, 0, 0, 0)
} else {
val gestureHeight =
ResourceUtils.getNavbarSize(