diff options
author | Robert Carr <racarr@google.com> | 2019-03-21 13:28:48 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2019-03-26 08:29:35 -0700 |
commit | ad30f958a62f17c7c39b6c02b8028198501a3807 (patch) | |
tree | 272483ebec2ba129608b1fbce888dfd5cc32b792 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 53cc8bf12cd76bc2cb4734c3ff4df29eb4764dac (diff) |
Null AppWindowThumbnail SurfaceControl after releasing it.
Otherwise SurfaceAnimator#reset may try and use it and throw an unhandled
exception. It looks like this should be safe because we always null the
SurfaceAnimator after releasing it's surface. The only other point holding
on to the surface should be the animator, and the animator properly checks
for null.
Bug: 124877830
Test: AppWindowThumbnailTest
Change-Id: I3841b27cc9e24ed24951df27b2b35a22bca70130
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions