summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2018-04-19 12:38:47 -0700
committerRobert Carr <racarr@google.com>2018-04-19 12:38:47 -0700
commitfa8edf8220b8429bb6f9bff368c1737d502af518 (patch)
tree40b8569397661a2db18fdaf08a8d3ad0077fabf6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta194a6bee36365b7aa2cdf3e86fe26e600ef338b (diff)
Fix destruction of preserved surfaces for non app windows.
A new codepath (if (mChildrenDetached)) is allowing the IME surface to become preserved. However WindowState#onAnimationDone will not properly clean up preserved surfaces in the case of windows without an App Token. For windows with an app token we follow the destroySurfaces path which does the right thing via WindowState#destroySurface however for the AppTokenless path we simply add to mDestroySurfaces. To fix this we ensure when processing mDestroySurfaces we also process preserved surfaces. Test: Manual. go/wm-smoke. Bug: 78089772 Change-Id: Ia54e31c83a941ce6ae8ceb11672634c01a91e2e9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions