Merge "Check for null mBlastBufferQueue" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-20 23:22:49 +00:00
committed by Android (Google) Code Review

View File

@@ -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);