Skip to content
Commit fef1a134 authored by Vadim Caen's avatar Vadim Caen
Browse files

Allow a null Rect to be passed as sourceCrop

The documenation of SurfaceControl.captureLayers() allows for a null
Rect for the sourceCrop,
but SurfaceControl.CaptureArgs.Builder#setSourceCrop only allows
for NonNull parameter.

Test: Builds
Fixes: 201993205
Change-Id: I5411630bd787dc7be9d7e253363a030b16fdd9fc
parent e598ab96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment