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

Commit 931d9184 authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Always execute the dismiss end runnable on silent header clear."

parents 2a7fc664 127b3d35
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -105,6 +105,9 @@ public abstract class StackScrollerDecorView extends ExpandableView {
                runAfter.run();
            };
            setViewVisible(mContent, visible, animate, endRunnable);
        } else if (runAfter != null) {
            // Execute the runAfter runnable immediately if there's no animation to perform.
            runAfter.run();
        }

        if (!mContentAnimating) {
@@ -228,7 +231,7 @@ public abstract class StackScrollerDecorView extends ExpandableView {
            Runnable onFinishedRunnable,
            AnimatorListenerAdapter animationListener) {
        // TODO: Use duration
        setContentVisible(false);
        setContentVisible(false, true /* animate */, onFinishedRunnable);
        return 0;
    }