diff options
author | Evan Rosky <erosky@google.com> | 2021-04-22 16:22:08 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2021-04-23 14:49:48 -0700 |
commit | 52f6451203bd25c0f556d373ff9fc8134664b948 (patch) | |
tree | 89eb6b883404a122275762572ecd5bcaf21bb6d8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 75beeaee6f11d6d6cef6bde6955776515db826aa (diff) |
Fix surface release race when using Shell Transitions
Shell Transitions operates on the leashes both before and
after the animation in order to adapt shell transit to the
legacy transit impls in launcher.
This means we can't release the surfaces before the finish
callback. Since the finish callback provides a convenient place
to release the surfaces anyways, we can effectively disable
the release here.
Bug: 186158221
Test: enable shell transit, physically rotate to landscape,
launch messages and then close it (back-gesture) repeatedly
and observe that launcher doesn't crash.
Change-Id: Ibdc958b1fd18d66a013d94b70772ce49409fb4c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions