From c76766953ebabd327f5ddc8410bfcdbc09e77b25 Mon Sep 17 00:00:00 2001 From: Danesh M Date: Fri, 17 Jun 2016 15:13:27 -0700 Subject: 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 --- core/java/android/view/WindowManagerPolicy.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') 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 -- cgit v1.1