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

Commit 2c1ccb5a authored by Ioana Alexandru's avatar Ioana Alexandru Committed by Android (Google) Code Review
Browse files

Merge "Fix StackScrollerDecorView param comment not matching." into main

parents c3e0b8b0 859a92fb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -90,10 +90,10 @@ public abstract class StackScrollerDecorView extends ExpandableView {
                } else {
                    setWillBeGone(true);
                }
                setContentVisible(visible, true /* animate */, null /* runAfter */);
                setContentVisible(visible, true /* animate */, null /* onAnimationEnded */);
            } else {
                setVisibility(visible ? VISIBLE : GONE);
                setContentVisible(visible, false /* animate */, null /* runAfter */);
                setContentVisible(visible, false /* animate */, null /* onAnimationEnded */);
                setWillBeGone(false);
                notifyHeightChanged(false /* needsAnimation */);
            }
@@ -108,7 +108,7 @@ public abstract class StackScrollerDecorView extends ExpandableView {
     * Change content visibility to {@code visible}, animated.
     */
    public void setContentVisibleAnimated(boolean visible) {
        setContentVisible(visible, true /* animate */, null /* runAfter */);
        setContentVisible(visible, true /* animate */, null /* onAnimationEnded */);
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public class SectionHeaderView extends StackScrollerDecorView {
        mContents = requireViewById(R.id.content);
        bindContents();
        super.onFinishInflate();
        setVisible(true /* nowVisible */, false /* animate */);
        setVisible(true /* visible */, false /* animate */);
    }

    private void bindContents() {