commit | 4ddd5438af505eb8bc8dbb003e90e2d57fd7d62d | [log] [tgz] |
---|---|---|
author | jeimysantiago <jeimysantiago@google.com> | Wed Jun 21 20:38:52 2023 +0000 |
committer | jeimysantiago <jeimysantiago@google.com> | Mon Jun 26 15:53:10 2023 +0000 |
tree | efd339805802f3956b6a16db3bd8def8ed61f619 | |
parent | fcb72565f3b67d8b1a059bae45feea3ba810f71a [diff] |
Fix screenshot buffer leaks By passing a listener into UiAutomationConnection the client can get ownership and free the buffer on its own. Bug: 287081404 Test: atest displayScreenshot Test: atest layerScreenshot Change-Id: I15824755c4691d9ff7be4a6da70cb0f713f5541d