diff options
author | Mark Renouf <mrenouf@google.com> | 2020-10-16 12:03:40 -0400 |
---|---|---|
committer | Mark Renouf <mrenouf@google.com> | 2020-10-20 11:02:22 -0400 |
commit | b2de4e90dbf828c832a927547467afc5c1c5b8de (patch) | |
tree | 6f1046339c2717265edfb56bd22455aa373597a0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 749b6360a15d3b4c215163cc1237b2c75b7410bf (diff) |
scrollCapture: Avoid crash if host window doesn't exist
1. Enforce that the provided token is actually a window token
2. Allow the referenced window not to exist, in which case it
is ignored.
Test: atest ScrollCaptureTest
Change-Id: Ic2a8e09fb397d844de06355e440435da4f8bf338
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions