am 8b9c6d51: Merge "Expose apps when keyguard animating." into jb-dev

* commit '8b9c6d51d59898375089e9708325604c227812e0':
  Expose apps when keyguard animating.
This commit is contained in:
Craig Mautner
2012-06-14 14:57:31 -07:00
committed by Android Git Automerger
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,