Skip to content

Commit f03e4c5

Browse files
author
Craig Mautner
committed
Expose apps when keyguard animating.
Continuing in the trend of not hiding apps while the keyguard is animating. Fixes bug 6653600. Change-Id: I151315084a13dcec061d2d6edccd31e1133610f4
1 parent 97c11fe commit f03e4c5

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)