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

Commit 98139559 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't let two closing animations run at the same time

Fixes a flash when clicking on a single notification.

Bug: 17450892
Change-Id: Ia99c21a0bb30ce100532cfab66c96ec24f2412bf
parent c90f95c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -684,7 +684,7 @@ public abstract class PanelView extends FrameLayout {
                removeCallbacks(mPeekRunnable);
                mPeekRunnable.run();
            }
        } else if (!isFullyCollapsed() && !mTracking) {
        } else if (!isFullyCollapsed() && !mTracking && !mClosing) {
            if (mHeightAnimator != null) {
                mHeightAnimator.cancel();
            }