diff options
author | keunyoung <keunyoung@google.com> | 2014-10-07 22:58:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-10-07 22:58:48 +0000 |
commit | d76f80bd3a38e11d27935cbe461c3a9d4243dd76 (patch) | |
tree | e8c430a626db714b976689e882e15284deb81976 /services | |
parent | 90f46eca86df268d8df276fb68dac2e731f35479 (diff) | |
parent | 030a93feb896d228317eb8dba6a89743c4d26dd7 (diff) | |
download | frameworks_base-d76f80bd3a38e11d27935cbe461c3a9d4243dd76.zip frameworks_base-d76f80bd3a38e11d27935cbe461c3a9d4243dd76.tar.gz frameworks_base-d76f80bd3a38e11d27935cbe461c3a9d4243dd76.tar.bz2 |
Merge "ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window" into lmp-dev
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/wm/WindowManagerService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowManagerService.java b/services/core/java/com/android/server/wm/WindowManagerService.java index 467b9a4..8437d52 100644 --- a/services/core/java/com/android/server/wm/WindowManagerService.java +++ b/services/core/java/com/android/server/wm/WindowManagerService.java @@ -9598,7 +9598,7 @@ public class WindowManagerService extends IWindowManager.Stub for (i=N-1; i>=0; i--) { WindowState w = windows.get(i); final TaskStack stack = w.getStack(); - if (stack == null) { + if (stack == null && w.getAttrs().type != TYPE_PRIVATE_PRESENTATION) { continue; } @@ -9610,7 +9610,7 @@ public class WindowManagerService extends IWindowManager.Stub handleNotObscuredLocked(w, currentTime, innerDw, innerDh); } - if (!stack.testDimmingTag()) { + if (stack != null && !stack.testDimmingTag()) { handleFlagDimBehind(w); } |