Merge "BLAST: Avoid JNI call on creation" into rvc-dev am: 6fcbf83d5e am: 8747dafc25

Change-Id: I4dac92b482f1ca5e14445fc38dfa0aed28bd106c
This commit is contained in:
Rob Carr
2020-04-29 04:24:06 +00:00
committed by Automerger Merge Worker

View File

@@ -1793,8 +1793,9 @@ public final class ViewRootImpl implements ViewParent,
// We only return the Surface the first time, as otherwise
// it hasn't changed and there is no need to update.
ret = mBlastBufferQueue.getSurface();
} else {
mBlastBufferQueue.update(mBlastSurfaceControl, width, height);
}
mBlastBufferQueue.update(mBlastSurfaceControl, width, height);
return ret;
}