commit | 3510924a6de6ad44160de44051d28df87593edd3 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Tue Aug 18 16:06:40 2020 -0700 |
committer | chaviw <chaviw@google.com> | Tue Sep 08 09:59:50 2020 -0700 |
tree | 1d547c3c90b165a509d26a7f9deeb70783224791 | |
parent | 25953d498f68ac3cdc3b7f4c0a33946725ac960d [diff] |
Send ScreenCaptureListener to native screen capture requests. Allow for asynchronous screenshot by sending a ScreenCaptureListener to handle screenshot callbacks. All existing calls are still synchronous since the SurfaceControl method will block the caller until the results from SurfaceFlinger are ready. Test: power + volume down Test: adb shell screencap Bug: 162367424 Change-Id: I54c34003c0786b585dd20530a06dbd4b266e178c