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

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

Merge "Fix build break due to merge."

parents 6fd8961a 71896dce
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1906,12 +1906,13 @@ class WindowStateAnimator {
        if (mDeferTransactionUntilFrame < 0) {
            return;
        }
        final WindowState parentWindow = mWin.getParentWindow();
        long time = System.currentTimeMillis();
        if (time > mDeferTransactionTime + PENDING_TRANSACTION_FINISH_WAIT_TIME) {
            mDeferTransactionTime = -1;
            mDeferTransactionUntilFrame = -1;
        } else if (mWin.mAttachedWindow != null &&
                mWin.mAttachedWindow.mWinAnimator.hasSurface()) {
        } else if (parentWindow != null &&
                parentWindow.mWinAnimator.hasSurface()) {
            mSurfaceController.deferTransactionUntil(
                    mWin.getParentWindow().mWinAnimator.mSurfaceController.getHandle(),
                    mDeferTransactionUntilFrame);