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,7 +3779,9 @@ public final class ViewRootImpl implements ViewParent,
mNextReportConsumeBLAST = true;
mNextDrawUseBLASTSyncTransaction = false;
mBlastBufferQueue.setNextTransaction(mRtBLASTSyncTransaction);
if (mBlastBufferQueue != null) {
mBlastBufferQueue.setNextTransaction(mRtBLASTSyncTransaction);
}
}
boolean canUseAsync = draw(fullRedrawNeeded);
if (usingAsyncReport && !canUseAsync) {