Merge "Expose apps when keyguard animating." into jb-dev

This commit is contained in:
Craig Mautner
2012-06-14 14:55:19 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -2968,7 +2968,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
public boolean allowAppAnimationsLw() {
if (mKeyguard != null && mKeyguard.isVisibleLw()) {
if (mKeyguard != null && mKeyguard.isVisibleLw() && !mKeyguard.isAnimatingLw()) {
// If keyguard is currently visible, no reason to animate
// behind it.
return false;

View File

@@ -279,7 +279,7 @@ public class WindowAnimator {
}
mService.mFocusMayChange = true;
}
if (win.isReadyForDisplay()) {
if (win.isReadyForDisplay() && !winAnimator.isAnimating()) {
mForceHiding = true;
}
if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(TAG,