Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6410bcdf authored by keunyoung's avatar keunyoung Committed by The Android Automerger
Browse files

ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window

bug: 17677973
Change-Id: I2666a1c1cf8956e60d7261912da34d1999131eba
parent d7549d63
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -9598,7 +9598,7 @@ public class WindowManagerService extends IWindowManager.Stub
                for (i=N-1; i>=0; i--) {
                for (i=N-1; i>=0; i--) {
                    WindowState w = windows.get(i);
                    WindowState w = windows.get(i);
                    final TaskStack stack = w.getStack();
                    final TaskStack stack = w.getStack();
                    if (stack == null) {
                    if (stack == null && w.getAttrs().type != TYPE_PRIVATE_PRESENTATION) {
                        continue;
                        continue;
                    }
                    }


@@ -9610,7 +9610,7 @@ public class WindowManagerService extends IWindowManager.Stub
                        handleNotObscuredLocked(w, currentTime, innerDw, innerDh);
                        handleNotObscuredLocked(w, currentTime, innerDw, innerDh);
                    }
                    }


                    if (!stack.testDimmingTag()) {
                    if (stack != null && !stack.testDimmingTag()) {
                        handleFlagDimBehind(w);
                        handleFlagDimBehind(w);
                    }
                    }