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

Commit ad17626e authored by Robert Carr's avatar Robert Carr
Browse files

SurfaceView: Restore transaction application in useBLAST=false

We may still have useBLAST=false when we are detached from
the ViewRoot, the recent CL to remove defer transaction
code mistakenly removed this code.

Bug: 183427823
Test: Existing tests pass
Change-Id: I7ef68ca9da053fd9b488a6da6101572ec05ab9a3
parent fbb1317a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1389,6 +1389,8 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
            // If we are using BLAST, merge the transaction with the viewroot buffer transaction.
            viewRoot.mergeWithNextTransaction(mRtTransaction, frameNumber);
            return;
        } else {
            mRtTransaction.apply();
        }
    }