Apply insets to top-level providers, not just paramsForRotation
Bug: 329012507 Flag: none Test: trigger assistant, ensure bottom insets are removed in gesture nav mode; also verify IME inset override correctly applies in 3 button mode Change-Id: I823d0d360a7e3b41cc291f6949d9371e0dc32efb
This commit is contained in:
@@ -162,6 +162,10 @@ class TaskbarInsetsController(val context: TaskbarActivityContext) : LoggableTas
|
||||
setProviderInsets(provider, layoutParams.gravity, rotation)
|
||||
}
|
||||
}
|
||||
// Also set the parent providers (i.e. not in paramsForRotation).
|
||||
for (provider in windowLayoutParams.providedInsets) {
|
||||
setProviderInsets(provider, windowLayoutParams.gravity, context.display.rotation)
|
||||
}
|
||||
context.notifyUpdateLayoutParams()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user