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

Commit afe3e11c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for null mBlastBufferQueue" into rvc-dev

parents 470e4ac9 ab581a4c
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -3779,8 +3779,10 @@ public final class ViewRootImpl implements ViewParent,
                mNextReportConsumeBLAST = true;
                mNextReportConsumeBLAST = true;
                mNextDrawUseBLASTSyncTransaction = false;
                mNextDrawUseBLASTSyncTransaction = false;


                if (mBlastBufferQueue != null) {
                    mBlastBufferQueue.setNextTransaction(mRtBLASTSyncTransaction);
                    mBlastBufferQueue.setNextTransaction(mRtBLASTSyncTransaction);
                }
                }
            }
            boolean canUseAsync = draw(fullRedrawNeeded);
            boolean canUseAsync = draw(fullRedrawNeeded);
            if (usingAsyncReport && !canUseAsync) {
            if (usingAsyncReport && !canUseAsync) {
                mAttachInfo.mThreadedRenderer.setFrameCompleteCallback(null);
                mAttachInfo.mThreadedRenderer.setFrameCompleteCallback(null);