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

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

Merge "Ensure correct window ordering." into klp-dev

parents 64ce6b78 5ee6d19f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ class DisplayContent {
    void moveStack(TaskStack stack, boolean toTop) {
        mStackHistory.remove(stack);
        mStackHistory.add(toTop ? mStackHistory.size() : 0, stack);
        mService.moveStackWindowsLocked(stack);
    }

    public boolean isPrivate() {
+1 −2
Original line number Diff line number Diff line
@@ -4715,7 +4715,7 @@ public class WindowManagerService extends IWindowManager.Stub
        }
    }

    private void moveStackWindowsLocked(TaskStack stack) {
    void moveStackWindowsLocked(TaskStack stack) {
        DisplayContent displayContent = stack.getDisplayContent();

        // First remove all of the windows from the list.
@@ -4782,7 +4782,6 @@ public class WindowManagerService extends IWindowManager.Stub
                }
                stack.moveTaskToTop(task);
                displayContent.moveStack(stack, true);
                moveStackWindowsLocked(stack);
            }
        } finally {
            Binder.restoreCallingIdentity(origId);