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

Commit d2ff16c6 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed flickering in panel overscroll" into lmp-preview-dev

parents bc07ebb9 151037c5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -700,8 +700,6 @@ public class NotificationPanelView extends PanelView implements
        // TODO: Figure out transition for collapsing when QS is open, adjust height here.
        int maxPanelHeight = super.getMaxPanelHeight();
        int emptyBottomMargin = mNotificationStackScroller.getEmptyBottomMargin();
        emptyBottomMargin = (int) Math.max(0,
                emptyBottomMargin - mNotificationStackScroller.getCurrentOverScrollAmount(true));
        emptyBottomMargin += mStackScrollerContainer.getHeight()
                - mNotificationStackScroller.getHeight();
        int maxHeight = maxPanelHeight - emptyBottomMargin - mTopPaddingAdjustment;