diff options
| author | chaviw <chaviw@google.com> | 2021-05-04 14:32:48 -0500 |
|---|---|---|
| committer | chaviw <chaviw@google.com> | 2021-05-04 14:32:48 -0500 |
| commit | 80bb00b977643e8f7c7f0b30d671d3a30e9e99ff (patch) | |
| tree | 633d06f4f1fa69217c424ddf79542a2c258127a4 /rs/java/android/renderscript/ProgramStore.java | |
| parent | 3c865b129a45e7116418a78a9fee89fdfbef1802 (diff) | |
Capture layer and children when calling takeSurfaceControlScreenshot
When calling UiAutomationConnection.takeSurfaceControlScreenshot, it
should capture the requested SurfaceControl and its children. The
current code only captures the children. Therefore, call setChildrenOnly
with false to ensure it captures the parent, as well.
Test: ASurfaceControlTest
Bug: 185390632
Change-Id: I62707f808934177c8db05485ac28559982b8c607
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
