Merge "Clean up windows which stuck in animatingExit state." into sc-v2-dev am: 85aacccba1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16296642

Change-Id: I323599b607cabba336ebf9d5aaa20a54299873e9