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

Commit 90b6a276 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a flicker when closing QS without notifications

Change-Id: I0ca13626a676d0adf427d95edd76dd1bd2228fdc
Fixes: 28008271
parent 38d429f4
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -2084,6 +2084,8 @@ public class NotificationStackScrollLayout extends ViewGroup
        final ExpandableView firstChild = getFirstChildNotGone();
        final ExpandableView firstChild = getFirstChildNotGone();
        int firstChildMinHeight = firstChild != null
        int firstChildMinHeight = firstChild != null
                ? firstChild.getIntrinsicHeight()
                ? firstChild.getIntrinsicHeight()
                : mEmptyShadeView != null
                        ? mEmptyShadeView.getMinHeight()
                        : mCollapsedSize;
                        : mCollapsedSize;
        if (mOwnScrollY > 0) {
        if (mOwnScrollY > 0) {
            firstChildMinHeight = Math.max(firstChildMinHeight - mOwnScrollY, mCollapsedSize);
            firstChildMinHeight = Math.max(firstChildMinHeight - mOwnScrollY, mCollapsedSize);