Merge "Expose apps when keyguard animating." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8b9c6d51d5
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user