summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-05-04 14:32:48 -0500
committerchaviw <chaviw@google.com>2021-05-04 14:32:48 -0500
commit80bb00b977643e8f7c7f0b30d671d3a30e9e99ff (patch)
tree633d06f4f1fa69217c424ddf79542a2c258127a4 /tools/aapt2/java/JavaClassGenerator.cpp
parent3c865b129a45e7116418a78a9fee89fdfbef1802 (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 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions