Replace WC#inAppOrRecentsTransition with WS#inTransitionSelfOrParent
As WC#inAppOrRecentsTransition the naming didn't clearly state how to check the container animating state (e.g. during transition preperation, container self or its hierarchy is in transition state) Also, originally TransitionController#inTransition(wc) has included recents animation since it's a subset of the shell-transition, the only thing we need to change in this method is to make isColleting(wc) also traverse the parent of subtree to comply the definition of inTransition(wc): "Returns true if a transition is running in a participant subtree of wc" Also, this CL is a mechanical refactoring and should not have any behavior change. Bug: 212570341 Test: atest DisplayContentTests WindowStateTests WindowContainerTests Test: manual, make sure IME screenshot mechanism workable Change-Id: Ic6826a129a000d9abf7dead05896109504ebbb12
Loading
Please register or sign in to comment