Skip to content
Commit 5e49e12b authored by wilsonshih's avatar wilsonshih Committed by Wei Sheng Shih
Browse files

Fix ActivityRecord leak if mainWindow is animating.

For CTS test, sometimes remove starting window won't pass throught
WS#removeIfPossible if the binder was dead before reveal animation
finish. For this case, cancel reveal animation in WS#removeIfPossible
if it's animating reveal animation.

Bug: 184830058
Bug: 188245125
Bug: 188244674
Test: verify from bugreport that no systemui crash after WM's CTS.
Test: run atest StartActivityTests then verify no activity leaked.
Change-Id: I81484870ff89a78b6133be03d439d45d550bdd8c
parent c73c0986
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment