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

Commit 47826a7d authored by Valerie Hau's avatar Valerie Hau
Browse files

Run transaction handling whenever you flush

Bug: 146309877
Test: build, boot, SurfaceFlinger_test
Change-Id: Ie81d6c1e66d4e79d69ac55ae8fff7cceeedaf7c9
parent c8cdfef8
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);