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

Commit 2412e764 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android Git Automerger
Browse files

am 3b866bee: Make sure endClosing doesn\'t get called too early

* commit '3b866bee':
  Make sure endClosing doesn't get called too early
parents cf8ec275 3b866bee
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -834,8 +834,10 @@ public abstract class PanelView extends FrameLayout {
            }
        } else if (!isFullyCollapsed() && !mTracking && !mClosing) {
            cancelHeightAnimator();
            mClosing = true;
            notifyExpandingStarted();

            // Set after notifyExpandingStarted, as notifyExpandingStarted resets the closing state.
            mClosing = true;
            if (delayed) {
                mNextCollapseSpeedUpFactor = speedUpFactor;
                postDelayed(mFlingCollapseRunnable, 120);