diff options
author | chaviw <chaviw@google.com> | 2020-08-18 16:06:40 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2020-09-14 11:22:07 -0700 |
commit | bc1004965461ad0fbf30f70141797b1d6a2c9436 (patch) | |
tree | 28354c941a54ad537fefbfb478ced5f55836ca15 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a701408ef0dc3ed2e144cbc7f5698d62310f382d (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: I6cb5641dc19f32f262e3120949fc30ea104cff89
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions