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

Commit 61f0f9ad authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "When adding a window evaluate all tasks." into klp-dev

parents ac738a25 018be3da
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -943,7 +943,7 @@ public class WindowManagerService extends IWindowManager.Stub
        // order of applications.
        WindowState pos = null;

        final ArrayList<Task> tasks = win.getStack().getTasks();
        final ArrayList<Task> tasks = displayContent.getTasks();
        int taskNdx;
        int tokenNdx = -1;
        for (taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
@@ -7983,11 +7983,8 @@ public class WindowManagerService extends IWindowManager.Stub
        int curLayer = 0;
        int i;

        if (DEBUG_LAYERS) {
            RuntimeException here = new RuntimeException("here");
            here.fillInStackTrace();
            Slog.v(TAG, "Assigning layers", here);
        }
        if (DEBUG_LAYERS) Slog.v(TAG, "Assigning layers based on windows=" + windows,
                new RuntimeException("here").fillInStackTrace());

        boolean anyLayerChanged = false;