Merge "Don't let two closing animations run at the same time" into lmp-dev

This commit is contained in:
Jorim Jaggi
2014-09-10 15:48:44 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}