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

Commit dfd73669 authored by András Kurucz's avatar András Kurucz Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] Ignore lookahead pass for the notifications top callback" into main

parents 49851f02 62a59806
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -71,7 +71,11 @@ class SingleShadeMeasurePolicy(
                mediaAndQqsPlaceable = mediaAndQqsPlaceable,
                insetsTop = insetsTop,
            )
        // Don't send position updates during the lookahead pass, as it can report a value  that is
        // not yet reflected in the UI.
        if (!isLookingAhead) {
            onNotificationsTopChanged(notificationsTop)
        }

        return layout(constraints.maxWidth, constraints.maxHeight) {
            shadeHeaderPlaceable?.placeRelative(x = insetsLeft, y = insetsTop)