Merge "Always report mandatory insets for button nav" into 24D1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
91dfdc61b8
@@ -223,7 +223,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(
|
||||
|
||||
Reference in New Issue
Block a user