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

Commit 95784b24 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed an issue where the clear all expansion wasn't smooth" into pi-dev

parents 62e90c78 38475445
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -94,6 +94,10 @@ public abstract class StackScrollerDecorView extends ExpandableView {
        }
    }

    public boolean isContentVisible() {
        return mContentVisible;
    }

    /**
     * Make this view visible. If {@code false} is passed, the view will fade out it's content
     * and set the view Visibility to GONE. If only the content should be changed
+1 −1
Original line number Diff line number Diff line
@@ -2199,7 +2199,7 @@ public class NotificationPanelView extends PanelView implements

    @Override
    protected boolean isClearAllVisible() {
        return mNotificationStackScroller.isFooterViewVisible();
        return mNotificationStackScroller.isFooterViewContentVisible();
    }

    @Override
+2 −2
Original line number Diff line number Diff line
@@ -4117,8 +4117,8 @@ public class NotificationStackScrollLayout extends ViewGroup
                && !mFooterView.willBeGone();
    }

    public boolean isFooterViewVisible() {
        return mFooterView != null && mFooterView.isVisible();
    public boolean isFooterViewContentVisible() {
        return mFooterView != null && mFooterView.isContentVisible();
    }

    public int getFooterViewHeight() {