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

Change-Id: Ic1fc30cba8e83100fbc4c9fb203b75b9e76d7b89
This commit is contained in:
Rob Carr
2020-04-29 04:35:20 +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;
}