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

Commit 93200f63 authored by Robert Carr's avatar Robert Carr
Browse files

Remove redundant setting of layer stack.

Produces confusing log spam.

Bug: 69852584
Test: Boots
Change-Id: I79762540719ecd1f4252aae69b613c8b24ddd775
parent ace40144
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -602,13 +602,6 @@ class WindowStateAnimator {
        return mWin.getDisplayContent().getDisplay().getLayerStack();
    }

    void updateLayerStackInTransaction() {
        if (mSurfaceController != null) {
            mSurfaceController.setLayerStackInTransaction(
                    getLayerStack());
        }
    }

    void resetDrawState() {
        mDrawState = DRAW_PENDING;

@@ -732,7 +725,6 @@ class WindowStateAnimator {
        mService.openSurfaceTransaction();
        try {
            mSurfaceController.setPositionInTransaction(mTmpSize.left, mTmpSize.top, false);
            mSurfaceController.setLayerStackInTransaction(getLayerStack());
        } finally {
            mService.closeSurfaceTransaction("createSurfaceLocked");
        }
+0 −6
Original line number Diff line number Diff line
@@ -255,12 +255,6 @@ class WindowToken extends WindowContainer<WindowState> {
        // up with goodToGo, so we don't move a window
        // to another display before the window behind
        // it is ready.
        SurfaceControl.openTransaction();
        for (int i = mChildren.size() - 1; i >= 0; --i) {
            final WindowState win = mChildren.get(i);
            win.mWinAnimator.updateLayerStackInTransaction();
        }
        SurfaceControl.closeTransaction();

        super.onDisplayChanged(dc);
    }