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

Commit 6376e1f6 authored by Valerie Hau's avatar Valerie Hau Committed by Automerger Merge Worker
Browse files

Merge "Run transaction handling whenever you flush" into rvc-dev am: 4b506ad1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11872256

Change-Id: I3e75741cbc65f7f5db49f8633758c549a4cdcdd5
parents 34c041a8 4b506ad1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2017,8 +2017,9 @@ bool SurfaceFlinger::handleMessageTransaction() {

    bool flushedATransaction = flushTransactionQueues();

    bool runHandleTransaction = transactionFlags &&
            ((transactionFlags != eTransactionFlushNeeded) || flushedATransaction);
    bool runHandleTransaction =
            (transactionFlags && (transactionFlags != eTransactionFlushNeeded)) ||
            flushedATransaction;

    if (runHandleTransaction) {
        handleTransaction(eTransactionMask);