Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c189a54c authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Apply insets to top-level providers, not just paramsForRotation" into 24D1-dev

parents 95179cff 3205876b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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()
    }