commit | 9be7d0c3ce3c17cfaab528db7203905eb40c6bf3 | [log] [tgz] |
---|---|---|
author | jeimysantiago <jeimysantiago@google.com> | Wed Jul 12 18:37:06 2023 +0000 |
committer | Jeimy Santiago Morales <jeimysantiago@google.com> | Mon Jul 31 20:09:59 2023 +0000 |
tree | b8efb5bf914838159aa26e0d62d5d2cd62a5c9bf | |
parent | cbb251627d10e5a5637613f9741e4562e6ec92d1 [diff] |
Make screenCapture calls to SF async The captureDisplay and captureLayers aidl calls have been made one-way and the functions void. A new function called invokeScreenCaptureError has been created that takes the error and listener as input and passes the captureResult to onScreenCaptureCompleted. Bug: 287081404 Test: atest layerScreenshot Change-Id: Iaa07a3525a2ff0ed8409cac27e9f8ac7b01183df