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

Commit 34f81cd3 authored by Julia Tuttle's avatar Julia Tuttle Committed by Android (Google) Code Review
Browse files

Merge "Flexiglass: fix occasional squished notifs on lockscreen" into main

parents 9bd78bdf 9dacef98
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1544,12 +1544,7 @@ public class NotificationStackScrollLayout
    public void setExpandedHeight(float height) {
        final boolean skipHeightUpdate = shouldSkipHeightUpdate();

        // when scene framework is enabled and in single shade, updateStackPosition is already
        // called by updateTopPadding every time the stack moves, so skip it here to avoid
        // flickering.
        if (!SceneContainerFlag.isEnabled() || mShouldUseSplitNotificationShade) {
        updateStackPosition();
        }

        if (!skipHeightUpdate) {
            mExpandedHeight = height;