From 5943c200a4707fb8acd38c1709e30c400b65349e Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Mon, 12 Apr 2010 21:36:49 -0700 Subject: [PATCH] Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard... ...go directly to unlock screen Fix a problem where, when we are moving windows due to a configuration change, our wait to have the windows get redrawn would also inadvertently make us think their surfaces should be hidden, leading to nasty things like the lock screen thinking it should be shown again (and thus forcing the orientation back to portrait). Change-Id: I79057cfbc93ff59fd3558da997d4f73796e6aabe --- .../android/server/WindowManagerService.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index cd6a13102be38..0fa62e8ebd541 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -4418,7 +4418,8 @@ public class WindowManagerService extends IWindowManager.Stub final int N = mWindows.size(); for (int i=0; i