mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Merge "Apply insets to top-level providers, not just paramsForRotation" into 24D1-dev
This commit is contained in:
@@ -163,6 +163,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