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

Commit f88fc669 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

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

am: 815be93d

Change-Id: Ib876f64c94d5df9294dcbfc50186291b90b56269
parents fe6f9088 815be93d
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() {