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

Commit 07e07a44 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Apply pending transactions always" into main

parents f0b5c595 54526e9b
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -4244,7 +4244,14 @@ public final class ViewRootImpl implements ViewParent,
            mReportNextDraw = false;
            mLastReportNextDrawReason = null;
            mActiveSurfaceSyncGroup = null;
            if (mHasPendingTransactions) {
                // TODO: We shouldn't ever actually hit this, it means mPendingTransaction wasn't
                // merged with a sync group or BLASTBufferQueue before making it to this point
                // But better a one or two frame flicker than steady-state broken from dropping
                // whatever is in this transaction
                mPendingTransaction.apply();
                mHasPendingTransactions = false;
            }
            mSyncBuffer = false;
            if (isInWMSRequestedSync()) {
                mWmsRequestSyncGroup.markSyncReady();