Fix window didn't disappear if enable/disable ime at same time

When starting to freeze display, AppTransition also clear all status and
data, but if the RemoteAnimation didn't start. The window can't recevice the
finish animation callback, that would make the state is always EXITING.

Bug: 130618911
Test: atest DocumentsTest
Test: atest WmTests:RemoteAnimationControllerTest
Test: atest WmTests:AppTransitionTests
Change-Id: I5695a291f26323eb78cced435722b459b963a9f1
3 files changed