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

Commit b53a2a17 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant transaction in Surface creation."

parents 19a7dbfb 266a9b59
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -720,15 +720,6 @@ class WindowStateAnimator {
                    + width + "x" + height + "), layer=" + mAnimLayer + " HIDE", false);
        }

        // Start a new transaction and apply position & offset.

        mService.openSurfaceTransaction();
        try {
            mSurfaceController.setPositionInTransaction(mTmpSize.left, mTmpSize.top, false);
        } finally {
            mService.closeSurfaceTransaction("createSurfaceLocked");
        }

        mLastHidden = true;

        if (WindowManagerService.localLOGV) Slog.v(TAG, "Created surface " + this);