diff options
| author | 2015-11-30 19:03:47 +0000 | |
|---|---|---|
| committer | 2015-11-30 19:03:47 +0000 | |
| commit | fc19f14ecccb36c44d39f03f4a09ebeb6d71776b (patch) | |
| tree | 509e3db6b9552610eb1471af89e29f8c011047d0 | |
| parent | 1223c198e485d0fd032f95ec63a9877f844a145e (diff) | |
| parent | 95094d17cbd8d4e808c3f63341f3c8c92ee8e75f (diff) | |
Merge "Show all windows with FLAG_SHOW_WHEN_LOCKED over lock screen if"
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowAnimator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowAnimator.java b/services/core/java/com/android/server/wm/WindowAnimator.java index 46fab2ae0223..f20c4e51a1bf 100644 --- a/services/core/java/com/android/server/wm/WindowAnimator.java +++ b/services/core/java/com/android/server/wm/WindowAnimator.java @@ -220,8 +220,8 @@ public class WindowAnimator { if (appShowWhenLocked != null) { allowWhenLocked |= appShowWhenLocked == win.mAppToken - // Show all SHOW_WHEN_LOCKED windows while they're animating - || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.isAnimatingLw() + // Show all SHOW_WHEN_LOCKED windows if some apps are shown over lockscreen + || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 // Show error dialogs over apps that dismiss keyguard. || (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0; } |