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

Commit 48ab53e5 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "Remove obsolete conditional preventing surface placement."

parents 574460f5 e352b18f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -647,14 +647,6 @@ class WindowSurfacePlacer {

            for (int i = windows.size() - 1; i >= 0; i--) {
                WindowState w = windows.get(i);
                Task task = w.getTask();
                if (task == null && w.getDisplayContent().getHomeStack() == null
                        && w.getAttrs().type != TYPE_PRIVATE_PRESENTATION) {
                    // TODO: Understand what the use case is here and see if the conditions can be
                    // simplified.
                    continue;
                }

                final boolean obscuredChanged = w.mObscured != mObscured;

                // Update effect.