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

Commit 859a92fb authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Fix StackScrollerDecorView param comment not matching.

Recently renamed some parameters in SSDV, but not all the callsite
comments were updated to match the new name.

Bug: N/A
Test: none, comment-only change
Flag: NONE
Change-Id: I1efcc66a152a9ad95ade66b2028d7641f3e7cd8e
parent cb67c593
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -90,10 +90,10 @@ public abstract class StackScrollerDecorView extends ExpandableView {
                } else {
                } else {
                    setWillBeGone(true);
                    setWillBeGone(true);
                }
                }
                setContentVisible(visible, true /* animate */, null /* runAfter */);
                setContentVisible(visible, true /* animate */, null /* onAnimationEnded */);
            } else {
            } else {
                setVisibility(visible ? VISIBLE : GONE);
                setVisibility(visible ? VISIBLE : GONE);
                setContentVisible(visible, false /* animate */, null /* runAfter */);
                setContentVisible(visible, false /* animate */, null /* onAnimationEnded */);
                setWillBeGone(false);
                setWillBeGone(false);
                notifyHeightChanged(false /* needsAnimation */);
                notifyHeightChanged(false /* needsAnimation */);
            }
            }
@@ -108,7 +108,7 @@ public abstract class StackScrollerDecorView extends ExpandableView {
     * Change content visibility to {@code visible}, animated.
     * Change content visibility to {@code visible}, animated.
     */
     */
    public void setContentVisibleAnimated(boolean visible) {
    public void setContentVisibleAnimated(boolean visible) {
        setContentVisible(visible, true /* animate */, null /* runAfter */);
        setContentVisible(visible, true /* animate */, null /* onAnimationEnded */);
    }
    }


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


    private void bindContents() {
    private void bindContents() {