commit | fef1a1347b7c2f822906c04da8e3092971dd90e1 | [log] [tgz] |
---|---|---|
author | Vadim Caen <caen@google.com> | Mon Oct 04 15:33:08 2021 +0200 |
committer | Vadim Caen <caen@google.com> | Mon Oct 04 15:37:39 2021 +0200 |
tree | 168e722ac096951432c70571f84ac47dc3958939 | |
parent | e598ab96e27a3450353bc5fabb4c87506dd6be5c [diff] |
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