diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-10-07 21:26:57 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-10-07 21:26:57 -0700 |
commit | 3d163f073f5cf3b3bf0287fc7d60fabce0269748 (patch) | |
tree | da79a3fcc237477c63b63a8f1a4138d34ddc509a /core/java/android | |
parent | 7c12540f09659dec0a4222831ed7e5ab8d7b0cdf (diff) | |
download | frameworks_base-3d163f073f5cf3b3bf0287fc7d60fabce0269748.zip frameworks_base-3d163f073f5cf3b3bf0287fc7d60fabce0269748.tar.gz frameworks_base-3d163f073f5cf3b3bf0287fc7d60fabce0269748.tar.bz2 |
More fix #2163209: alarm clock rings but is hidden behind lock screen
There was another way we could ignore the application windows flags
while the lock screen was displayed. This is the infrastructure to
deal with that.
Change-Id: Id8c9cb2f7081df6757ccb797a7cde618e82f7b38
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/view/WindowManagerPolicy.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java index 78999fa..916fc2d 100644 --- a/core/java/android/view/WindowManagerPolicy.java +++ b/core/java/android/view/WindowManagerPolicy.java @@ -263,6 +263,13 @@ public interface WindowManagerPolicy { boolean isVisibleLw(); /** + * Like {@link #isVisibleLw}, but also counts a window that is currently + * "hidden" behind the keyguard as visible. This allows us to apply + * things like window flags that impact the keyguard. + */ + boolean isVisibleOrBehindKeyguardLw(); + + /** * Is this window currently visible to the user on-screen? It is * displayed either if it is visible or it is currently running an * animation before no longer being visible. Must be called with the |