diff options
author | Danesh M <danesh@cyngn.com> | 2016-06-17 15:13:27 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-06-29 11:27:38 -0700 |
commit | c76766953ebabd327f5ddc8410bfcdbc09e77b25 (patch) | |
tree | f7054b5140e202c4dc4a39f9bd3e59b370c57e6f /core | |
parent | d4c6db9ce9020148d41234d5f28f0d57cc98f41c (diff) | |
download | frameworks_base-c76766953ebabd327f5ddc8410bfcdbc09e77b25.zip frameworks_base-c76766953ebabd327f5ddc8410bfcdbc09e77b25.tar.gz frameworks_base-c76766953ebabd327f5ddc8410bfcdbc09e77b25.tar.bz2 |
WindowAnimator : Check KEYGUARD_PANEL when deciding to show/hide window
By default, if blur is enabled we don't hide the window behind since we
want the user to see it. This is not true for when a KEYGUARD_PANEL is active
since we can't see anything behind it anyway. Only apply blur logic
if KEYGUARD_PANEL is not added.
CYNGNOS-2980
Change-Id: Icecae14455d6e68665bb688e3f6dc4ea9d74e88c
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/view/WindowManagerPolicy.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java index c1d0ecb..d19096b 100644 --- a/core/java/android/view/WindowManagerPolicy.java +++ b/core/java/android/view/WindowManagerPolicy.java @@ -665,6 +665,11 @@ public interface WindowManagerPolicy { public WindowState getWinShowWhenLockedLw(); /** + * Returns the current keyguard panel, if such a thing exists. + */ + public WindowState getWinKeyguardPanelLw(); + + /** * Called when the system would like to show a UI to indicate that an * application is starting. You can use this to add a * APPLICATION_STARTING_TYPE window with the given appToken to the window |