diff options
author | chaviw <chaviw@google.com> | 2020-08-18 16:06:40 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2020-09-08 09:59:50 -0700 |
commit | 3510924a6de6ad44160de44051d28df87593edd3 (patch) | |
tree | 1d547c3c90b165a509d26a7f9deeb70783224791 /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions