From 229574c7f5fad24a8240270db29fa6532256bb52 Mon Sep 17 00:00:00 2001 From: Steven Ross Date: Mon, 14 Nov 2011 15:40:37 -0500 Subject: [PATCH] Making KeyguardView slippery fixes 5501105 Setting the slippery flag keeps this window from processing events occurring in places where another window is on top of it. Specifically, if someone clicks above the pattern/FaceUnlock portion of the window and then drags down onto FUL, this blocks the underlying lockscreen from processing those touch events. Change-Id: Ia7038841df0044f66220af8a00c7845b2293c2a4 --- .../com/android/internal/policy/impl/KeyguardViewManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java b/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java index 0499cfa2ba99e..bf1496bc3b810 100644 --- a/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java +++ b/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java @@ -118,6 +118,7 @@ public class KeyguardViewManager implements KeyguardWindowController { int flags = WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN | WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER | WindowManager.LayoutParams.FLAG_KEEP_SURFACE_WHILE_ANIMATING + | WindowManager.LayoutParams.FLAG_SLIPPERY /*| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR*/ ; if (!mNeedsInput) {