Setting SurfaceTexture buffer size for display and preview surfaces.
When setting a surface for the Camera, it is important to ensure the
buffer size is set before the surface is created.
To fix this:
The Surface passed to the Video Telephony layer is not created until
the buffer size is set.
The display surface buffer size is set when created.
Setting the preview buffer size is deferred until the camera dimensions
are received from the video provider.
Bug: 16012946
Change-Id: I2130c029133ae6e5d670188e8d269ee6ac8bd675
1 file changed
tree: 33f574b90917da1df15cbffb6d495be780ff7608
- InCallUI/