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

Commit 32d5b84a authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

Merge "Apply dangling pending transactions using the BBQ apply token" into main

parents 2c674d8a ac1706e1
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -4435,7 +4435,8 @@ public final class ViewRootImpl implements ViewParent,
                // 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();
                // apply immediately with bbq apply token
                mergeWithNextTransaction(mPendingTransaction, 0);
                mHasPendingTransactions = false;
            }
            mSyncBuffer = false;
@@ -5501,7 +5502,8 @@ public final class ViewRootImpl implements ViewParent,
                Log.d(mTag, "Pending transaction will not be applied in sync with a draw due to "
                        + logReason);
            }
            pendingTransaction.apply();
            // apply immediately with bbq apply token
            mergeWithNextTransaction(pendingTransaction, 0);
        }
    }
    /**