diff options
| author | Garfield Tan <xutan@google.com> | 2018-12-19 15:17:29 -0800 |
|---|---|---|
| committer | Garfield Tan <xutan@google.com> | 2018-12-19 15:17:29 -0800 |
| commit | eb629d7ed27112eca0b3e55ec08119773f9e34ea (patch) | |
| tree | f4f4af5c95f3ed53cb4817021e7f527acd891f4f /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | a034692c8174a67c96b7e677bb08a5390046034a (diff) | |
Cancel all pending anims when tearing down.
When I was trying to reproduce a TH failure in DisplayContentTests I ran
into a different failure that a SurfaceControl (an anim leash) is used
after being destroyed. Therefore cancel all pending anims before
destroying all SurfaceControls in WMSRule to avoid that.
Bug: None
Test: Tests pass.
Change-Id: Iec978605fa5a8d7dbb0f8afed7cd2e6463454d04
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
