Skip to content

Commit 8b9c6d5

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Expose apps when keyguard animating." into jb-dev
2 parents a676cda + f03e4c5 commit 8b9c6d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2968,7 +2968,7 @@ public void run() {
29682968
}
29692969

29702970
public boolean allowAppAnimationsLw() {
2971-
if (mKeyguard != null && mKeyguard.isVisibleLw()) {
2971+
if (mKeyguard != null && mKeyguard.isVisibleLw() && !mKeyguard.isAnimatingLw()) {
29722972
// If keyguard is currently visible, no reason to animate
29732973
// behind it.
29742974
return false;

services/java/com/android/server/wm/WindowAnimator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ private void updateWindowsAndWallpaperLocked() {
279279
}
280280
mService.mFocusMayChange = true;
281281
}
282-
if (win.isReadyForDisplay()) {
282+
if (win.isReadyForDisplay() && !winAnimator.isAnimating()) {
283283
mForceHiding = true;
284284
}
285285
if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(TAG,

0 commit comments

Comments
 (0)