Merge "Don't apply animations to windows that are showing" into lmp-mr1-dev

This commit is contained in:
Craig Mautner
2014-12-11 22:27:52 +00:00
committed by Android (Google) Code Review

View File

@@ -355,7 +355,8 @@ public class WindowAnimator {
boolean applyExistingExitAnimation = mPostKeyguardExitAnimation != null
&& !winAnimator.mKeyguardGoingAwayAnimation
&& win.hasDrawnLw()
&& win.mAttachedWindow == null;
&& win.mAttachedWindow == null
&& mForceHiding != KEYGUARD_NOT_SHOWN;
// If the window is already showing and we don't need to apply an existing
// Keyguard exit animation, skip.